gstreamer/subprojects/gst-plugins-bad/sys/uvcgadget
Michael Grzeschik 17797d1d28 uvcsink: fix event peer probe
The only job of the event peer probe is to catch the upcoming caps event
and be able to react with the sink change. All other events that are
passing the pad shall be passed and ignored.

Since the probe is a blocking probe, there is no use in returning
with GST_PAD_PROBE_OK on other events. Otherwise the event would just
be blocked.

Since we are handling the probe removal of the probe already in the
event switch, we can remove the second explicit probe removal.

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: fix event peer probe 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