Commit a45e7b56 authored by Ilkka Ollakka's avatar Ilkka Ollakka

dvb: set demux=ts only if we didn't do scan

Without this when scanning, we would force demuxer to ts but outputted m3u-playlist.
parent 4e541fa9
......@@ -421,8 +421,11 @@ static int Open( vlc_object_t *p_this )
else
p_sys->i_read_once = DVB_READ_ONCE_START;
free( p_access->psz_demux );
p_access->psz_demux = strdup( "ts" );
if( !p_sys->b_scan_mode )
{
free( p_access->psz_demux );
p_access->psz_demux = strdup( "ts" );
}
return VLC_SUCCESS;
}
......
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