[vlc-devel] commit: DVB: force m3u8 demux in scan mode ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Dec 5 15:21:57 CET 2009
vlc | branch: 1.0-bugfix | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 31 15:10:13 2009 +0200| [1af53ae2fddb42e8579823f062dd973668de51a6] | committer: Rémi Denis-Courmont
DVB: force m3u8 demux in scan mode
(cherry picked from commit 90aa71ca584cbf721c06d3046e0afff795fa065c)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1af53ae2fddb42e8579823f062dd973668de51a6
---
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 37a00d7..90fa3ec 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