Commit 60a63e04 authored by Keary Griffin's avatar Keary Griffin Committed by Jean-Baptiste Kempf

Add support to mpeg-ts muxer to pass keyframe flag (BLOCK_FLAG_TYPE_I) to access_out modules

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent d53121f7
......@@ -2018,6 +2018,12 @@ static block_t *TSNew( sout_mux_t *p_mux, ts_stream_t *p_stream,
}
p_ts = block_New( p_mux, 188 );
if (b_new_pes && !(p_pes->i_flags & BLOCK_FLAG_NO_KEYFRAME) && p_pes->i_flags & BLOCK_FLAG_TYPE_I)
{
p_ts->i_flags |= BLOCK_FLAG_TYPE_I;
}
p_ts->i_dts = p_pes->i_dts;
p_ts->p_buffer[0] = 0x47;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment