diff --git a/ext/webrtc/gstwebrtcbin.c b/ext/webrtc/gstwebrtcbin.c index c08d837480..fe1ce2273a 100644 --- a/ext/webrtc/gstwebrtcbin.c +++ b/ext/webrtc/gstwebrtcbin.c @@ -1650,8 +1650,6 @@ _find_codec_preferences (GstWebRTCBin * webrtc, if (pad->received_caps) { caps = gst_caps_ref (pad->received_caps); - } else if ((caps = gst_pad_get_current_caps (GST_PAD (pad)))) { - GST_LOG_OBJECT (webrtc, "Using current pad caps: %" GST_PTR_FORMAT, caps); } else { static GstStaticCaps static_filter = GST_STATIC_CAPS ("application/x-rtp, "