[gstreamer-bugs] [Bug 321386] New: [SEGFAULT] basetransform when doing reverse caps negotiation

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sun Nov 13 10:46:51 PST 2005


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=321386
 GStreamer | gstreamer (core) | Ver: HEAD CVS

           Summary: [SEGFAULT] basetransform when doing reverse caps
                    negotiation
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: High
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: julien at moutte.net
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: all-bugs at bugzilla.gnome.org


When preparing the output buffer base transform passes the caps of the source
pad using the GST_PAD_CAPS macro. This prepare_output_buf function calls
gst_pad_alloc_buffer and check the returned caps for reverse negotiation.

The problem here is that the out_caps have been unreffed by the configuration of
the source pad that happened in gst_pad_alloc_buffer. This is a crasher with
gst_caps_is_equal on this out_caps variable.

As we definitely want to use the original caps for the output buffer in this
case we need to ref/unref out_caps in the prepare_output_buf function.

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list