From 9e28b769e8f488b2df9545ba2fee1ef46920050c Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Fri, 20 Jul 2012 16:43:19 +0200 Subject: [PATCH] faad: only discard frame once upon decoding error Fixes https://bugzilla.gnome.org/show_bug.cgi?id=679886 --- ext/faad/gstfaad.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c index 736bb87236..46661fc93e 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: