diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2007-08-22 15:32:04 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2007-08-22 15:32:04 +0000 |
commit | 05eba831bd5bfac3ddb7c22b6feefdcea5ca0c61 (patch) | |
tree | d17e612aa11ebc86494c1175e75dd76871b8cb16 /ext | |
parent | 37327082676d18ecd7515d08847048d09fba0f56 (diff) | |
download | gst-plugins-bad-05eba831bd5bfac3ddb7c22b6feefdcea5ca0c61.tar.gz gst-plugins-bad-05eba831bd5bfac3ddb7c22b6feefdcea5ca0c61.tar.bz2 gst-plugins-bad-05eba831bd5bfac3ddb7c22b6feefdcea5ca0c61.zip |
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.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/faad/gstfaad.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); + } } } } |