[vlc-commits] demux: ts: do not create multiple stream filter
Francois Cartegnie
git at videolan.org
Sun Mar 15 22:03:53 CET 2015
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun Mar 15 00:26:50 2015 +0100| [3b586dc733743d3901dce4e8370e94a8665b64dc] | committer: Francois Cartegnie
demux: ts: do not create multiple stream filter
can happen with multiple arib programs
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3b586dc733743d3901dce4e8370e94a8665b64dc
---
modules/demux/ts.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index 7242714..0fcbfa5 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -5475,7 +5475,7 @@ static void PMTCallBack( void *data, dvbpsi_pmt_t *p_dvbpsipmt )
else if( stream_Control( p_sys->stream, STREAM_SET_PRIVATE_ID_CA,
p_dvbpsipmt ) != VLC_SUCCESS )
{
- if ( p_sys->arib.e_mode == ARIBMODE_ENABLED )
+ if ( p_sys->arib.e_mode == ARIBMODE_ENABLED && !p_sys->arib.b25stream )
{
p_sys->arib.b25stream = stream_FilterNew( p_demux->s, "aribcam" );
p_sys->stream = ( p_sys->arib.b25stream ) ? p_sys->arib.b25stream : p_demux->s;
More information about the vlc-commits
mailing list