Commit 9640b3ce authored by Laurent Aimar's avatar Laurent Aimar

Set picture flags (I/P/B) in mpeg4 packetizer.

This will help our muxers creating better files.
parent 5f35b662
...@@ -403,6 +403,7 @@ static block_t *ParseMPEGBlock( decoder_t *p_dec, block_t *p_frag ) ...@@ -403,6 +403,7 @@ static block_t *ParseMPEGBlock( decoder_t *p_dec, block_t *p_frag )
{ {
/* We are dealing with a VOP */ /* We are dealing with a VOP */
p_pic = block_ChainGather( p_sys->p_frame ); p_pic = block_ChainGather( p_sys->p_frame );
p_pic->i_flags = p_sys->i_flags;
p_pic->i_pts = p_sys->i_interpolated_pts; p_pic->i_pts = p_sys->i_interpolated_pts;
p_pic->i_dts = p_sys->i_interpolated_dts; p_pic->i_dts = p_sys->i_interpolated_dts;
......
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