mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
69c5529011
The uvcsink calculates the caps for the format that the UVC host selected. The gst_uvc_sink_parse_cur_caps() sets these caps as cur_caps as a side effect. This behavior is surprising as cur_caps is later updated to reflect the actually used caps. Just return the configured caps to avoid side effects. This makes the function easier to understand. Update the function name to reflect the new behavior. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4994> |
||
---|---|---|
.. | ||
configfs.c | ||
configfs.h | ||
gstuvcsink.c | ||
gstuvcsink.h | ||
meson.build | ||
uvc.c |