Commit 7f9ddba0 authored by Olivier Crete's avatar Olivier Crete Committed by Sebastian Dröge
Browse files

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.
parent 76fbca71
2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
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.
2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk> 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
   
Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com> Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
......
...@@ -883,7 +883,6 @@ done: ...@@ -883,7 +883,6 @@ done:
/* ERRORS */ /* ERRORS */
not_setup: not_setup:
{ {
gst_buffer_unref (buf);
GST_ELEMENT_ERROR (enc, CORE, NEGOTIATION, (NULL), GST_ELEMENT_ERROR (enc, CORE, NEGOTIATION, (NULL),
("encoder not initialized (input is not audio?)")); ("encoder not initialized (input is not audio?)"));
ret = GST_FLOW_NOT_NEGOTIATED; ret = GST_FLOW_NOT_NEGOTIATED;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment