[gstreamer-bugs] [Bug 363095] New: [BaseTransform] Outputs empty buffers

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Oct 18 02:29:09 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=363095

  GStreamer | gstreamer (core) | Ver: HEAD CVS

           Summary: [BaseTransform] Outputs empty buffers
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: bilboed at bilboed.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Currently, BaseTransform based plugins output empty buffers (size=0, data=NULL)
when transform_size() returns 0.

This causes many problems in plugins that don't support buffers with NULL data.

Apart from this, it really is a bug, since GstBaseTransform doesn't output the
buffer if *out_buf is NULL in gst_base_transform_chain(), but subclasses have
no way of returning NULL, so it should be up to GstBaseTransform to properly
handle that.

The proposed patch will not allocate an output buffer if the output size is 0.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list