[gstreamer-bugs] [Bug 622740] New: GstPad: Do not call gst_pad_accept_caps() when caps change

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jun 25 08:44:36 PDT 2010


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

           Summary: GstPad: Do not call gst_pad_accept_caps() when caps
                    change
    Classification: Desktop
           Product: GStreamer
           Version: unspecified
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: bilboed at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Instead just check that the caps intersect with the pad template.
The elements should properly accept/refuse the caps in setcaps().

Shaves off calling the default implementation of acceptcaps which does
an expensive gst_pad_get_caps() (so if you have 50 of those elements in
a row, you'd be doing factorial(50) gst_pad_get_caps...).

Does break any module unit test and most apps work fine.

-- 
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