From 05eba831bd5bfac3ddb7c22b6feefdcea5ca0c61 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 22 Aug 2007 15:32:04 +0000 Subject: ext/faad/gstfaad.c: Don't unref the buffer when it was clipped. Original commit message from CVS: * ext/faad/gstfaad.c: (gst_faad_chain): Don't unref the buffer when it was clipped. --- ext/faad/gstfaad.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ext') diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c index fa2f0038..7e719ec0 100644 --- a/ext/faad/gstfaad.c +++ b/ext/faad/gstfaad.c @@ -1352,8 +1352,7 @@ gst_faad_chain (GstPad * pad, GstBuffer * buffer) ret = gst_pad_push (faad->srcpad, outbuf); if (ret != GST_FLOW_OK) goto out; - } else - gst_buffer_unref (outbuf); + } } } } -- cgit v1.2.1