Commit a8a84279 authored by Thomas Guillem's avatar Thomas Guillem

packetizer: avparser: set keyframe flag

parent 58c708a3
......@@ -190,6 +190,8 @@ static block_t *Packetize ( decoder_t *p_dec, block_t **pp_block )
memcpy( p_ret->p_buffer, p_outdata, i_outlen );
p_ret->i_pts = p_block->i_pts;
p_ret->i_dts = p_block->i_dts;
if( p_sys->p_parser_ctx->key_frame == 1 )
p_ret->i_flags |= BLOCK_FLAG_TYPE_I;
p_block->i_pts = p_block->i_dts = VLC_TS_INVALID;
......
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