diff options
author | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2012-07-20 16:43:19 +0200 |
---|---|---|
committer | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2012-07-20 16:44:20 +0200 |
commit | f75ff5a8647aa6bdca1bb520fd08c9d8f26c84eb (patch) | |
tree | 30b80213c0ac1918159350be43baa9c5c05eb00f | |
parent | 249087fee0c7cc1b2ef08e253909071176aa4341 (diff) |
faad: only discard frame once upon decoding error
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=679886
-rw-r--r-- | ext/faad/gstfaad.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c index 3fee59ed6..4dd73eba8 100644 --- a/ext/faad/gstfaad.c +++ b/ext/faad/gstfaad.c @@ -806,8 +806,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: |