rtprecv/rtpsend: Downgrade warning about incomplete RTP caps to a debug message

When using bundled RTP streams the clock-rate has to come from the
pt-map instead of the caps on the pad.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2364>
This commit is contained in:
Sebastian Dröge 2025-07-11 19:58:49 +03:00
parent ae2e823340
commit 5656a7e4e0
2 changed files with 4 additions and 4 deletions

View file

@ -1390,10 +1390,10 @@ impl RtpRecv {
session_inner.add_caps(caps); session_inner.add_caps(caps);
} }
} else { } else {
gst::warning!( gst::debug!(
CAT, CAT,
obj = pad, obj = pad,
"input caps are missing payload or clock-rate fields" "input caps are missing payload or clock-rate fields, need to use pt-map"
); );
} }
true true

View file

@ -430,10 +430,10 @@ impl RtpSend {
session.add_caps(caps.caps_owned()); session.add_caps(caps.caps_owned());
} }
} else { } else {
gst::warning!( gst::debug!(
CAT, CAT,
obj = pad, obj = pad,
"input caps are missing payload or clock-rate fields" "input caps are missing payload or clock-rate fields, need to use pt-map"
); );
} }
gst::Pad::event_default(pad, Some(&*self.obj()), event) gst::Pad::event_default(pad, Some(&*self.obj()), event)