summaryrefslogtreecommitdiffstats
path: root/ext/wavpack
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2007-07-24 05:07:59 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2007-07-24 05:07:59 +0000
commit425eb1c601fc2f4b25f054f9fe5caaf82e8dec19 (patch)
tree393acda697a33e0fc7f12de1cfef6c2aa7e983b1 /ext/wavpack
parent645141a6ff29dfd7039e963f3ce6964506da1004 (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.
Diffstat (limited to 'ext/wavpack')
-rw-r--r--ext/wavpack/gstwavpackdec.c2
1 files changed, 0 insertions, 2 deletions
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: