[vlc-devel] commit: Set picture flags (I/P/B) in mpeg4 packetizer. (Laurent Aimar )

git version control git at videolan.org
Wed Aug 27 12:09:49 CEST 2008


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed Aug 27 11:51:40 2008 +0200| [9640b3cef3b30c32fc0eb088008dddcd13fec827] | committer: Laurent Aimar 

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

This will help our muxers creating better files.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9640b3cef3b30c32fc0eb088008dddcd13fec827
---

 modules/packetizer/mpeg4video.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/packetizer/mpeg4video.c b/modules/packetizer/mpeg4video.c
index 449ec36..c9136ef 100644
--- a/modules/packetizer/mpeg4video.c
+++ b/modules/packetizer/mpeg4video.c
@@ -403,6 +403,7 @@ static block_t *ParseMPEGBlock( decoder_t *p_dec, block_t *p_frag )
     {
         /* We are dealing with a VOP */
         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_dts = p_sys->i_interpolated_dts;
 




More information about the vlc-devel mailing list