[vlc-devel] commit: DVB: force m3u8 demux in scan mode ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Oct 31 14:10:26 CET 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 31 15:10:13 2009 +0200| [90aa71ca584cbf721c06d3046e0afff795fa065c] | committer: Rémi Denis-Courmont 

DVB: force m3u8 demux in scan mode

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

 modules/access/dvb/access.c |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/modules/access/dvb/access.c b/modules/access/dvb/access.c
index 3c40234..c4b7338 100644
--- a/modules/access/dvb/access.c
+++ b/modules/access/dvb/access.c
@@ -421,11 +421,8 @@ static int Open( vlc_object_t *p_this )
     else
         p_sys->i_read_once = DVB_READ_ONCE_START;
 
-    if( !p_sys->b_scan_mode )
-    {
-        free( p_access->psz_demux );
-        p_access->psz_demux = strdup( "ts" );
-    }
+    free( p_access->psz_demux );
+    p_access->psz_demux = strdup( p_sys->b_scan_mode ? "m3u8" : "ts" );
     return VLC_SUCCESS;
 }
 




More information about the vlc-devel mailing list