mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
cfe484d983
The caps query specifies _all_ caps that the element can handle, not just caps from the current path element. If for example a switchbin has two paths, with one having an element that handles video/x-h264, and another path whose element handles video/x-raw, and the second path is the current path, then the existing code would report only video/x-raw as supported. Fix this by report all allowed caps, even if there is a current path defined. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4632> |
||
---|---|---|
.. | ||
gstswitchbin.c | ||
gstswitchbin.h | ||
meson.build | ||
plugin.c |