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

git at videolan.org git at videolan.org
Tue Jul 6 13:08:22 CEST 2010


vlc/vlc-1.1 | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Jun 28 01:35:23 2010 +0200| [1265f8cd76bf3e0f508a8702a0e3b432671e7080] | committer: Jean-Baptiste Kempf 

Do not filter out program/epg at the TS demuxer level.
(cherry picked from commit 16c88b6d8f8cdeff0df833abd1e094991e34a137)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=1265f8cd76bf3e0f508a8702a0e3b432671e7080
---

 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