[Bug 760590] query: recursive accept-caps query

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jan 15 04:49:43 PST 2016


https://bugzilla.gnome.org/show_bug.cgi?id=760590

--- Comment #8 from Thiago Sousa Santos <thiagossantos at gmail.com> ---
Created attachment 319102
  --> https://bugzilla.gnome.org/attachment.cgi?id=319102&action=edit
pad: implement a default recursive-accept-caps handler

The handler will act similar to the default accept-caps one.

If it is a proxy pad, will proxy the query and, if accepted, then compare
with the pad template. Otherwise does a caps query and uses
gst_caps_is_subset() to check if the caps would be acceptable.

is_subset() is always used in this case because it is more restrictive
than an intersect, even if a pad is marked with ACCEPT_INTERSECT flag
it might be that one of the downstream pads aren't intersect and would
use is_subset() so always default to subset checks when a downstream
query was made.

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