summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2007-08-22 15:32:04 +0000
committerWim Taymans <wim.taymans@gmail.com>2007-08-22 15:32:04 +0000
commit05eba831bd5bfac3ddb7c22b6feefdcea5ca0c61 (patch)
treed17e612aa11ebc86494c1175e75dd76871b8cb16 /ext
parent37327082676d18ecd7515d08847048d09fba0f56 (diff)
downloadgst-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.c3
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);
+ }
}
}
}