summaryrefslogtreecommitdiff
path: root/ext/faad
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-07-20 16:43:19 +0200
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-07-20 16:47:35 +0200
commit9e28b769e8f488b2df9545ba2fee1ef46920050c (patch)
tree2e02afc119467b73f3c856d5443ebec1de6414e3 /ext/faad
parent62e5afb95e3e11c4269664c2d782d4e4e7bc803e (diff)
downloadgstreamer-plugins-bad-9e28b769e8f488b2df9545ba2fee1ef46920050c.tar.gz
faad: only discard frame once upon decoding error
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=679886
Diffstat (limited to 'ext/faad')
-rw-r--r--ext/faad/gstfaad.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c
index 736bb8723..46661fc93 100644
--- a/ext/faad/gstfaad.c
+++ b/ext/faad/gstfaad.c
@@ -831,8 +831,6 @@ decode_failed:
{
GST_AUDIO_DECODER_ERROR (faad, 1, STREAM, DECODE, (NULL),
("decoding error: %s", faacDecGetErrorMessage (info.error)), ret);
- if (ret == GST_FLOW_OK)
- gst_audio_decoder_finish_frame (dec, NULL, 1);
goto out;
}
negotiation_failed: