Index: libs/gst/base/gstbasetransform.c
===================================================================
RCS file: /cvs/gstreamer/gstreamer/libs/gst/base/gstbasetransform.c,v
retrieving revision 1.90
diff -u -p -r1.90 gstbasetransform.c
--- libs/gst/base/gstbasetransform.c	16 Sep 2006 12:49:02 -0000	1.90
+++ libs/gst/base/gstbasetransform.c	18 Oct 2006 13:15:51 -0000
@@ -1544,7 +1544,8 @@ gst_base_transform_chain (GstPad * pad, 
 
   /* outbuf can be NULL, this means a dropped buffer */
   if (outbuf != NULL) {
-    if (ret == GST_FLOW_OK)
+    /* if output buffer is empty, we don't push it out */
+    if ((ret == GST_FLOW_OK) && (GST_BUFFER_SIZE (buf) > 0))
       ret = gst_pad_push (trans->srcpad, outbuf);
     else
       gst_buffer_unref (outbuf);
