webrtcsrc: fix default msid property value

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1800>
This commit is contained in:
Mathieu Duponchelle 2024-09-23 16:11:21 +02:00 committed by GStreamer Marge Bot
parent bd7b94e305
commit f70482d9bc

View file

@ -64,7 +64,8 @@ impl ObjectImpl for WebRTCSrcPad {
.unwrap() .unwrap()
.as_ref() .as_ref()
.and_then(|p| p.upgrade()) .and_then(|p| p.upgrade())
.map(|p| p.property::<String>("msid")); .map(|p| p.property::<String>("msid"))
.unwrap_or_else(|| String::from(""));
msid.to_value() msid.to_value()
} }