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

Francois Cartegnie git at videolan.org
Thu Dec 21 11:10:42 CET 2017


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

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

(cherry picked from commit 9f64295f2061d46aca7f04a0591d301674446e75)

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

 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 f28078aa37..9fafed94e0 100644
--- a/modules/demux/mpeg/ts_si.c
+++ b/modules/demux/mpeg/ts_si.c
@@ -779,13 +779,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_demux->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