mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 02:00:33 +00:00
audiodecoder: Reset error count to 0 after successfully decoding a frame
This commit is contained in:
parent
d697dd6d39
commit
d209727644
1 changed files with 1 additions and 1 deletions
|
@ -1106,7 +1106,7 @@ gst_audio_decoder_finish_frame (GstAudioDecoder * dec, GstBuffer * buf,
|
|||
|
||||
/* we got data, so note things are looking up */
|
||||
if (G_UNLIKELY (dec->priv->error_count))
|
||||
dec->priv->error_count--;
|
||||
dec->priv->error_count = 0;
|
||||
|
||||
ret = gst_audio_decoder_output (dec, buf);
|
||||
|
||||
|
|
Loading…
Reference in a new issue