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
..
2023-05-20 05:48:23 +00:00
2023-08-30 15:45:12 +00:00
2023-02-03 17:48:10 +00:00
2023-02-28 10:12:31 +00:00
2023-08-23 18:33:04 +09:00
2023-09-17 18:53:24 +09:00