]> git.sesse.net Git - vlc/commitdiff
* src/stream_output/stream_output.c : Print a debug message when a packet
authorChristophe Massiot <massiot@videolan.org>
Fri, 8 Apr 2005 17:55:29 +0000 (17:55 +0000)
committerChristophe Massiot <massiot@videolan.org>
Fri, 8 Apr 2005 17:55:29 +0000 (17:55 +0000)
   arrives too late to the mux.

src/stream_output/stream_output.c

index 153ed49914d01ddd46cc2978562558f6d521879e..025d803d567271268ac026f1f330627f35707a07 100644 (file)
@@ -543,6 +543,14 @@ void sout_MuxSendBuffer( sout_mux_t *p_mux, sout_input_t *p_input,
 {
     block_FifoPut( p_input->p_fifo, p_buffer );
 
+    if( p_mux->p_sout->i_out_pace_nocontrol )
+    {
+        mtime_t current_date = mdate();
+        if ( current_date > p_buffer->i_dts )
+            msg_Warn( p_mux, "late buffer for mux input ("I64Fd")",
+                      current_date - p_buffer->i_dts );
+    }
+
     if( p_mux->b_waiting_stream )
     {
         if( p_mux->i_add_stream_start < 0 )