Commit fd693f38 authored by Christophe Massiot's avatar Christophe Massiot

* src/stream_output/stream_output.c : Print a debug message when a packet

   arrives too late to the mux.
parent 5b95a7f0
...@@ -543,6 +543,14 @@ void sout_MuxSendBuffer( sout_mux_t *p_mux, sout_input_t *p_input, ...@@ -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 ); 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->b_waiting_stream )
{ {
if( p_mux->i_add_stream_start < 0 ) if( p_mux->i_add_stream_start < 0 )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment