[vlc-devel] commit: Force TS demuxer when using BDA access. (Laurent Aimar )
git version control
git at videolan.org
Fri Apr 24 21:34:22 CEST 2009
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Fri Apr 24 21:32:05 2009 +0200| [e9172f8bf27dd71dd640d170079701cb9f87ae1a] | committer: Laurent Aimar
Force TS demuxer when using BDA access.
It seems that BDA does not filter out corrupted packets so our demuxer
detection can be fooled by bad reception.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e9172f8bf27dd71dd640d170079701cb9f87ae1a
---
modules/access/bda/bda.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/modules/access/bda/bda.c b/modules/access/bda/bda.c
index e9ab6af..c5aed1f 100644
--- a/modules/access/bda/bda.c
+++ b/modules/access/bda/bda.c
@@ -399,9 +399,11 @@ static int Open( vlc_object_t *p_this )
i_ret = dvb_SubmitATSCTuneRequest( p_access );
}
- if( i_ret != VLC_SUCCESS )
+ if( !i_ret )
+ p_access->psz_demux = strdup( "ts" );
+ else
msg_Warn( p_access, "DVB_Open: Unsupported Network %s",
- p_access->psz_access);
+ p_access->psz_access);
return i_ret;
}
More information about the vlc-devel
mailing list