gstreamer/subprojects/gst-plugins-bad/sys/uvcgadget
Michael Tretter 69c5529011 uvcsink: return caps when reading the host configured caps
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>
2023-10-06 15:55:23 +00:00
..
configfs.c uvcsink: configfs.{c,h}: add helper function to parse by videodev 2023-06-01 19:19:05 +00:00
configfs.h uvcsink: configfs.{c,h}: add helper function to parse by videodev 2023-06-01 19:19:05 +00:00
gstuvcsink.c uvcsink: return caps when reading the host configured caps 2023-10-06 15:55:23 +00:00
gstuvcsink.h uvcsink: add probe handling for live pipelines 2023-06-01 19:19:05 +00:00
meson.build uvcsink: add new bin element around v4l2sink 2023-06-01 19:19:05 +00:00
uvc.c uvcsink: add new bin element around v4l2sink 2023-06-01 19:19:05 +00:00