[Bug 760590] query: recursive accept-caps query
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Jan 13 10:41:47 PST 2016
https://bugzilla.gnome.org/show_bug.cgi?id=760590
--- Comment #2 from Thiago Sousa Santos <thiagossantos at gmail.com> ---
(In reply to Olivier CrĂȘte from comment #1)
> Any reason is not just do a query caps with the desired caps as a filter and
> check if the return value is empty or not? That should be the equivalent of
> a recursive accept-caps? I guess we could add some helper functions to for
> the intersections vs subset case.
Suppose you have an element that does h264 and has in its template caps:
video/x-h264, stream-format=byte-stream, alignment=nal
If you do a caps query with "video/x-h264, stream-format=byte-stream" as a
filter it will return 'video/x-h264, stream-format=byte-stream, alignment=nal'
but if you send a caps event with the same caps it will fail because of the
subset check.
--
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