[vlc-commits] live555 check stream_DemuxNew succeeded

Sébastien Escudier git at videolan.org
Thu Apr 7 13:25:37 CEST 2011


vlc | branch: master | Sébastien Escudier <sebastien-devel at celeos.eu> | Thu Apr  7 13:21:35 2011 +0200| [c7df60212025d4458c4d09280296d74ac6e6e173] | committer: Sébastien Escudier

live555 check stream_DemuxNew succeeded

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

 modules/demux/live555.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp
index a09c2c0..dd262b5 100644
--- a/modules/demux/live555.cpp
+++ b/modules/demux/live555.cpp
@@ -1078,7 +1078,8 @@ static int SessionsSetup( demux_t *p_demux )
                 sub->rtcpInstance()->setByeHandler( StreamClose, tk );
             }
 
-            if( tk->p_es || tk->b_quicktime || tk->b_muxed || tk->b_asf )
+            if( tk->p_es || tk->b_quicktime || ( tk->b_muxed && tk->p_out_muxed ) ||
+                ( tk->b_asf && p_sys->p_out_asf ) )
             {
                 /* Append */
                 p_sys->track = (live_track_t**)xrealloc( p_sys->track,



More information about the vlc-commits mailing list