[vlc-commits] sout: don't assume DTS relates to vlc_tick_now()

Rémi Denis-Courmont git at videolan.org
Tue Mar 3 18:41:32 CET 2020


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Feb 29 18:20:10 2020 +0200| [a63196e152e461f568df80944b308d4d2e454c8a] | committer: Rémi Denis-Courmont

sout: don't assume DTS relates to vlc_tick_now()

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

 src/stream_output/stream_output.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/stream_output/stream_output.c b/src/stream_output/stream_output.c
index 6a85878344..b9deb2689b 100644
--- a/src/stream_output/stream_output.c
+++ b/src/stream_output/stream_output.c
@@ -571,14 +571,6 @@ int sout_MuxSendBuffer( sout_mux_t *p_mux, sout_input_t *p_input,
     vlc_tick_t i_dts = p_buffer->i_dts;
     block_FifoPut( p_input->p_fifo, p_buffer );
 
-    if( p_mux->p_sout->i_out_pace_nocontrol )
-    {
-        vlc_tick_t current_date = vlc_tick_now();
-        if ( current_date > i_dts )
-            msg_Warn( p_mux, "late buffer for mux input (%"PRId64")",
-                      current_date - i_dts );
-    }
-
     if( i_dts == VLC_TICK_INVALID )
         i_dts = p_buffer->i_pts;
 



More information about the vlc-commits mailing list