[gstreamer-bugs] [Bug 617045] [caps] New method for intersecting caps while retaining order

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Apr 28 08:24:46 PDT 2010


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

Wim Taymans <wim.taymans> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wim.taymans at gmail.com

--- Comment #10 from Wim Taymans <wim.taymans at gmail.com> 2010-04-28 15:24:39 UTC ---
I can't quite remember why the algortihm you now propose again was replaced
with a zig-zag algorithm.. It might simply have something to do with the lack
of other negotiation API at that time (or other missing basetransform things). 

It sounds like the zigzag does not work so well because some caps intersections
simply result in empty caps which then cause it to try the next less optimal
intersections. Maybe the zigzag should only proceed to the next caps when an
intersection returns something non-empty. 

The main problem with the proposed patch is that it seriously overprefers the
first caps, you could end up with an intersection totally at the bottom of both
lists while there exist an intersection at say the second position of the
lists.

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