summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2006-10-27 10:10:26 +0000
committerWim Taymans <wim.taymans@gmail.com>2006-10-27 10:10:26 +0000
commitefebdfa3537947ddc8cbe582b90dbde2b327e016 (patch)
tree0b7769ad9def8001eb84c1f4be53414199f89471 /libs
parentc7fc3dc0e83bffc58352fdb9ecc8b5596b269e80 (diff)
libs/gst/base/gstbasetransform.c: Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
Original commit message from CVS: * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain): Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
Diffstat (limited to 'libs')
-rw-r--r--libs/gst/base/gstbasetransform.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/gst/base/gstbasetransform.c b/libs/gst/base/gstbasetransform.c
index f68171041..22cedf404 100644
--- a/libs/gst/base/gstbasetransform.c
+++ b/libs/gst/base/gstbasetransform.c
@@ -1544,8 +1544,7 @@ gst_base_transform_chain (GstPad * pad, GstBuffer * buffer)
/* outbuf can be NULL, this means a dropped buffer */
if (outbuf != NULL) {
- /* if output buffer is empty, we don't push it out */
- if ((ret == GST_FLOW_OK) && (GST_BUFFER_SIZE (outbuf) > 0))
+ if ((ret == GST_FLOW_OK))
ret = gst_pad_push (trans->srcpad, outbuf);
else
gst_buffer_unref (outbuf);