[vlc-commits] commit: Do not filter out program/epg at the TS demuxer level. ( Laurent Aimar )

git at videolan.org git at videolan.org
Mon Jun 28 21:26:54 CEST 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Jun 28 01:35:23 2010 +0200| [16c88b6d8f8cdeff0df833abd1e094991e34a137] | committer: Laurent Aimar 

Do not filter out program/epg at the TS demuxer level.

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

 modules/demux/ts.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index 63ec362..3748a5a 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -2786,9 +2786,6 @@ static void SDTCallBack( demux_t *p_demux, dvbpsi_sdt_t *p_sdt )
                  p_srv->b_eit_present, p_srv->i_running_status,
                  p_srv->b_free_ca );
 
-        if( p_sys->i_current_program != -1 && p_sys->i_current_program != p_srv->i_service_id )
-            continue;
-
         p_meta = vlc_meta_New();
         for( p_dr = p_srv->p_first_descriptor; p_dr; p_dr = p_dr->p_next )
         {
@@ -2965,7 +2962,7 @@ static void EITCallBack( demux_t *p_demux,
     vlc_epg_t *p_epg;
 
     msg_Dbg( p_demux, "EITCallBack called" );
-    if( !p_eit->b_current_next || ( p_sys->i_current_program != -1 && p_sys->i_current_program != p_eit->i_service_id ) )
+    if( !p_eit->b_current_next )
     {
         dvbpsi_DeleteEIT( p_eit );
         return;



More information about the vlc-commits mailing list