mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-27 12:30:28 +00:00
webrtcsrc: fix default msid property value
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1800>
This commit is contained in:
parent
bd7b94e305
commit
f70482d9bc
1 changed files with 2 additions and 1 deletions
|
@ -64,7 +64,8 @@ impl ObjectImpl for WebRTCSrcPad {
|
|||
.unwrap()
|
||||
.as_ref()
|
||||
.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()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue