[Bug 760590] query: recursive accept-caps query
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Jan 15 04:49:26 PST 2016
https://bugzilla.gnome.org/show_bug.cgi?id=760590
--- Comment #7 from Thiago Sousa Santos <thiagossantos at gmail.com> ---
Created attachment 319101
--> https://bugzilla.gnome.org/attachment.cgi?id=319101&action=edit
query: add new recursive-accept-caps
Adds a new query type that works like accept-caps but it is recursive.
This means that elements will forward the query to its peers when it
is received.
It allows checking whether a particular caps would be accepted by
the whole pipeline branch and not only the next element as a regular
accept-caps query does. This is different than doing a caps query with
a filter or intersecting with the result because elements might require
the presence of certain fields and would need to use gst_caps_is_subset()
instead of an intersection.
Besides that, it should also be faster than doing a caps query that
would have to generate a full list of supported formats while the
recursive accept-caps would only deal with a fixed caps.
Using a synonym of accept would likely create confusion with the
regular accept-caps, better to explicitly use a name that indicates
that it is a variation so people are aware of it.
API: gst_query_new_recursive_accept_caps
API: gst_query_parse_recursive_accept_caps
API: gst_query_parse_recursive_accept_caps_result
API: gst_query_set_recursive_accept_caps_result
API: GST_QUERY_RECURSIVE_ACCEPT_CAPS
--
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