[vlc-devel] commit: No need to set b_packetized in demuxer using a packetizer. ( Laurent Aimar )

git version control git at videolan.org
Thu May 7 21:13:31 CEST 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Thu May  7 20:59:56 2009 +0200| [38d1b1a33bb85270968c51e40ce15c77e770c78c] | committer: Laurent Aimar 

No need to set b_packetized in demuxer using a packetizer.

demux_PacketizerNew has been fixed in that regard.

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

 modules/demux/dirac.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/modules/demux/dirac.c b/modules/demux/dirac.c
index 66012fe..51ceb4f 100644
--- a/modules/demux/dirac.c
+++ b/modules/demux/dirac.c
@@ -184,10 +184,7 @@ static int Demux( demux_t *p_demux)
             p_block_out->p_next = NULL;
 
             if( p_sys->p_es == NULL )
-            {
-                p_sys->p_packetizer->fmt_out.b_packetized = true;
                 p_sys->p_es = es_out_Add( p_demux->out, &p_sys->p_packetizer->fmt_out);
-            }
 
             p_block_out->i_dts += p_sys->i_dtsoffset;
             p_sys->i_dts = p_block_out->i_dts;




More information about the vlc-devel mailing list