diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2007-07-24 05:07:59 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2007-07-24 05:07:59 +0000 |
commit | 425eb1c601fc2f4b25f054f9fe5caaf82e8dec19 (patch) | |
tree | 393acda697a33e0fc7f12de1cfef6c2aa7e983b1 | |
parent | 645141a6ff29dfd7039e963f3ce6964506da1004 (diff) |
ext/wavpack/gstwavpackdec.c: Don't unref the outgoing buffer twice when dropping it because it's outside of the segment.
Original commit message from CVS:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_chain):
Don't unref the outgoing buffer twice when dropping it because it's
outside of the segment.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ext/wavpack/gstwavpackdec.c | 2 |
2 files changed, 6 insertions, 2 deletions
@@ -1,5 +1,11 @@ 2007-07-24 Sebastian Dröge <slomo@circular-chaos.org> + * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_chain): + Don't unref the outgoing buffer twice when dropping it because it's + outside of the segment. + +2007-07-24 Sebastian Dröge <slomo@circular-chaos.org> + * configure.ac: * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_reset), (gst_wavpack_dec_chain), (gst_wavpack_dec_sink_event): diff --git a/ext/wavpack/gstwavpackdec.c b/ext/wavpack/gstwavpackdec.c index 7ed14c4b..c4aa1d04 100644 --- a/ext/wavpack/gstwavpackdec.c +++ b/ext/wavpack/gstwavpackdec.c @@ -339,8 +339,6 @@ gst_wavpack_dec_chain (GstPad * pad, GstBuffer * buf) GST_LOG_OBJECT (dec, "pushing buffer with time %" GST_TIME_FORMAT, GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (outbuf))); ret = gst_pad_push (dec->srcpad, outbuf); - } else { - gst_buffer_unref (outbuf); } out: |