uvcsink: drop useless debug messages in peer event probe

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4994>
This commit is contained in:
Michael Grzeschik 2023-06-16 01:05:22 +02:00 committed by GStreamer Marge Bot
parent dd0896f05a
commit e3a121950b

View file

@ -363,8 +363,6 @@ gst_uvc_sink_sinkpad_event_peer_probe (GstPad * pad,
{ {
GstEvent *event = GST_PAD_PROBE_INFO_EVENT (info); GstEvent *event = GST_PAD_PROBE_INFO_EVENT (info);
GST_DEBUG_OBJECT (self, "pad is blocked now!");
if (GST_EVENT_TYPE (GST_PAD_PROBE_INFO_DATA (info)) != GST_EVENT_CAPS) if (GST_EVENT_TYPE (GST_PAD_PROBE_INFO_DATA (info)) != GST_EVENT_CAPS)
return GST_PAD_PROBE_OK; return GST_PAD_PROBE_OK;
@ -392,7 +390,6 @@ gst_uvc_sink_sinkpad_event_peer_probe (GstPad * pad,
GST_DEBUG_OBJECT (self, "something went wrong!"); GST_DEBUG_OBJECT (self, "something went wrong!");
} }
GST_DEBUG_OBJECT (self, "pad is unblocked now");
return GST_PAD_PROBE_REMOVE; return GST_PAD_PROBE_REMOVE;
} }
default: default: