]> git.sesse.net Git - vlc/commitdiff
Accelerated dvb loading time by exporting the demuxer type.
authorLaurent Aimar <fenrir@videolan.org>
Fri, 9 Oct 2009 18:44:19 +0000 (20:44 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Tue, 13 Oct 2009 19:09:08 +0000 (21:09 +0200)
modules/access/dvb/access.c

index 65ded2bab2056069606113e43fb639dea3f5de05..f88d27ff13fd3760a8f02687906093407aef2cb2 100644 (file)
@@ -421,6 +421,8 @@ 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" );
     return VLC_SUCCESS;
 }