From 425eb1c601fc2f4b25f054f9fe5caaf82e8dec19 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 24 Jul 2007 05:07:59 +0000 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ ext/wavpack/gstwavpackdec.c | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9ba8ca1..ba17903 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2007-07-24 Sebastian Dröge + * 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 + * 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 7ed14c4..c4aa1d0 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: -- 2.7.4