[gstreamer-bugs] [Bug 618853] New: add caps intersection iterators

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon May 17 02:18:23 PDT 2010


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

           Summary: add caps intersection iterators
    Classification: Desktop
           Product: GStreamer
           Version: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: ensonic at sonicpulse.de
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Quite often caps negotiation code does the following:

intersect = gst_caps_intersect (caps1, caps2);
gst_caps_truncate (intersect);

to get the preferred (first) format that is good for both sides of a link. This
is not performing well as we construct full caps with all the gvalues and then
immediately after throw away most of it.

The attached patch implements a iterator for a caps intersection, that can
deliver the structure of the intersections as needed.

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