diff options
author | Olivier Crete <tester@tester.ca> | 2008-03-07 12:40:18 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-03-07 12:40:18 +0000 |
commit | 7f9ddba043f5d13378bf512d72880020044e5d17 (patch) | |
tree | 058ef19fc0c723a39457afedf4b2c884c5acb0cb /ext/speex/gstspeexenc.c | |
parent | 76fbca7103697e5ce8f529ce9a99927e4ec0b096 (diff) |
ext/speex/gstspeexenc.c: Unref the buffers only once when handling not-negotiated errors.
Original commit message from CVS:
Patch by: Olivier Crete <tester at tester dot ca>
* ext/speex/gstspeexenc.c: (gst_speex_enc_chain):
Unref the buffers only once when handling not-negotiated errors.
Fixes bug #520764.
Diffstat (limited to 'ext/speex/gstspeexenc.c')
-rw-r--r-- | ext/speex/gstspeexenc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/speex/gstspeexenc.c b/ext/speex/gstspeexenc.c index 647731f2..dc14beec 100644 --- a/ext/speex/gstspeexenc.c +++ b/ext/speex/gstspeexenc.c @@ -883,7 +883,6 @@ done: /* ERRORS */ not_setup: { - gst_buffer_unref (buf); GST_ELEMENT_ERROR (enc, CORE, NEGOTIATION, (NULL), ("encoder not initialized (input is not audio?)")); ret = GST_FLOW_NOT_NEGOTIATED; |