]> git.sesse.net Git - vlc/commitdiff
* modules/demux/ts.c: Removed an unneeded deselection of unwanted PMT PIDs,
authorChristophe Massiot <massiot@videolan.org>
Tue, 31 May 2005 15:15:11 +0000 (15:15 +0000)
committerChristophe Massiot <massiot@videolan.org>
Tue, 31 May 2005 15:15:11 +0000 (15:15 +0000)
   which caused problems in case an identical PID carried the PMTs of two
   programs, one selected and the other not.

modules/demux/ts.c

index bd13ff8fd688767989f842cc683af85620891cb1..7f9ce17dcea7563d641af2d29e8a00802438aa6b 100644 (file)
@@ -3028,11 +3028,6 @@ static void PATCallBack( demux_t *p_demux, dvbpsi_pat_t *p_pat )
                         if( stream_Control( p_demux->s, STREAM_CONTROL_ACCESS, ACCESS_SET_PRIVATE_ID_STATE, p_program->i_pid, VLC_TRUE ) )
                             p_sys->b_dvb_control = VLC_FALSE;
                     }
-                    else
-                    {
-                        if( stream_Control( p_demux->s, STREAM_CONTROL_ACCESS, ACCESS_SET_PRIVATE_ID_STATE, p_program->i_pid, VLC_FALSE ) )
-                            p_sys->b_dvb_control = VLC_FALSE;
-                    }
                 }
             }
         }