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.
This commit is contained in:
Sebastian Dröge 2007-07-24 05:07:59 +00:00
parent 645141a6ff
commit 425eb1c601
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,9 @@
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:

View file

@ -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: