Commit 483871eb authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

decoder: demote incorrect warning

A discarded buffer is not necessarily in the future. It might simply be
that there is no output or that the playback rate is out of range.
parent 47428b06
......@@ -1209,7 +1209,6 @@ static void DecoderPlayAudio( decoder_t *p_dec, aout_buffer_t *p_audio,
}
/* */
const bool b_dated = p_audio->i_pts > VLC_TS_INVALID;
int i_rate = INPUT_RATE_DEFAULT;
DecoderFixTs( p_dec, &p_audio->i_pts, NULL, &p_audio->i_length,
......@@ -1233,11 +1232,7 @@ static void DecoderPlayAudio( decoder_t *p_dec, aout_buffer_t *p_audio,
}
else
{
if( b_dated )
msg_Warn( p_dec, "received buffer in the future" );
else
msg_Warn( p_dec, "non-dated audio buffer received" );
msg_Dbg( p_dec, "discarded audio buffer" );
*pi_lost_sum += 1;
aout_BufferFree( p_audio );
}
......
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