From 05eba831bd5bfac3ddb7c22b6feefdcea5ca0c61 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 22 Aug 2007 15:32:04 +0000 Subject: [PATCH] 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. --- ChangeLog | 5 +++++ ext/faad/gstfaad.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e45aa19..45aceb6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-08-22 Wim Taymans + + * ext/faad/gstfaad.c: (gst_faad_chain): + Don't unref the buffer when it was clipped. + 2007-08-22 Julien MOUTTE * gst/flv/gstflvdemux.c: (gst_flv_demux_cleanup), diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c index fa2f003..7e719ec 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); + } } } } -- 2.7.4