gstreamer/subprojects/gst-plugins-bad/sys/uvcgadget
Michael Tretter c020dab393 uvcsink: use the pad's current caps to update caps_changed
The caps that were sent by the caps event can be retrieved from the sinkpad
using gst_pad_get_current_caps(). This is more reliable than using cur_caps as
we know exactly which caps upstream selected when the UVC host didn't select a
format, yet.

This further allows to simplify the check, if the uvcsink has to wait for the
caps event before switching to the internal v4l2sink.

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: use the pad's current caps to update caps_changed 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