[vlc-commits] demux: ts: don't wait for network time (fix #19234)

Francois Cartegnie git at videolan.org
Thu Dec 21 10:56:39 CET 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Dec 21 10:53:37 2017 +0100| [9f64295f2061d46aca7f04a0591d301674446e75] | committer: Francois Cartegnie

demux: ts: don't wait for network time (fix #19234)

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

 modules/demux/mpeg/ts_si.c | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/modules/demux/mpeg/ts_si.c b/modules/demux/mpeg/ts_si.c
index d9fcec5ba8..0bc6357913 100644
--- a/modules/demux/mpeg/ts_si.c
+++ b/modules/demux/mpeg/ts_si.c
@@ -780,13 +780,9 @@ static void SINewTableCallBack( dvbpsi_t *h, uint8_t i_table_id,
              ( i_table_id == 0x4e || /* Current/Following */
                (i_table_id >= 0x50 && i_table_id <= 0x5f) ) ) /* Schedule */
     {
-        /* Do not attach decoders if we can't decode timestamps */
-        if( p_sys->i_network_time > 0 )
-        {
-            if( !dvbpsi_eit_attach( h, i_table_id, i_extension,
-                                    (dvbpsi_eit_callback)EITCallBack, p_demux ) )
-                msg_Err( p_demux, "SINewTableCallback: failed attaching EITCallback" );
-        }
+        if( !dvbpsi_eit_attach( h, i_table_id, i_extension,
+                                (dvbpsi_eit_callback)EITCallBack, p_demux ) )
+            msg_Err( p_demux, "SINewTableCallback: failed attaching EITCallback" );
     }
     else if( p_pid->i_pid == TS_SI_TDT_PID &&
             (i_table_id == TS_SI_TDT_TABLE_ID || i_table_id == TS_SI_TOT_TABLE_ID) )



More information about the vlc-commits mailing list