mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-08 21:28:45 +00:00
faad: only discard frame once upon decoding error
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=679886
This commit is contained in:
parent
62e5afb95e
commit
9e28b769e8
1 changed files with 0 additions and 2 deletions
|
@ -831,8 +831,6 @@ decode_failed:
|
||||||
{
|
{
|
||||||
GST_AUDIO_DECODER_ERROR (faad, 1, STREAM, DECODE, (NULL),
|
GST_AUDIO_DECODER_ERROR (faad, 1, STREAM, DECODE, (NULL),
|
||||||
("decoding error: %s", faacDecGetErrorMessage (info.error)), ret);
|
("decoding error: %s", faacDecGetErrorMessage (info.error)), ret);
|
||||||
if (ret == GST_FLOW_OK)
|
|
||||||
gst_audio_decoder_finish_frame (dec, NULL, 1);
|
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
negotiation_failed:
|
negotiation_failed:
|
||||||
|
|
Loading…
Reference in a new issue