[Bug 647857] New: [pad] Check if valid caps are passed to gst_pad_alloc_buffer()

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Apr 15 03:48:59 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=647857
  GStreamer | gstreamer (core) | git

           Summary: [pad] Check if valid caps are passed to
                    gst_pad_alloc_buffer()
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: slomo at circular-chaos.org
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


See attached patch. Elements are currently assuming that the caps are not NULL
and fixed and will explode otherwise, for example xvimagesink (see bug
#647854).


Another solution would be, to use GST_PAD_CAPS() if NULL is passed and if
GST_PAD_CAPS() is not NULL, I'll attach a patch for this too.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list