Commit 014f4cd8 authored by Sébastien Escudier's avatar Sébastien Escudier

live555 check stream_DemuxNew succeeded

(cherry picked from commit c7df60212025d4458c4d09280296d74ac6e6e173)
parent 36d4a31c
......@@ -1022,7 +1022,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,
......
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