Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2023-01-15 23:57:14 +0300
committerSebastian Dröge <sebastian@centricular.com>2023-01-15 23:58:44 +0300
commit6132788b02b38b5f0d0019f40a66a52e2d33177e (patch)
treee83ba65974bf4533ac6cb077cc65420cb08db036 /net/webrtchttp
parent0c954135a34c16e62fa9a676c6ab165b2428a5f6 (diff)
Update for caps/structure-related string API changes
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1048>
Diffstat (limited to 'net/webrtchttp')
-rw-r--r--net/webrtchttp/src/whepsrc/imp.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/webrtchttp/src/whepsrc/imp.rs b/net/webrtchttp/src/whepsrc/imp.rs
index 29d5f2d5d..1bcc35f66 100644
--- a/net/webrtchttp/src/whepsrc/imp.rs
+++ b/net/webrtchttp/src/whepsrc/imp.rs
@@ -59,12 +59,12 @@ impl Default for Settings {
"video/x-h265",
"video/x-av1",
]
- .iter()
- .map(|s| gst::Structure::new_empty(s))
+ .into_iter()
+ .map(gst::Structure::new_empty)
.collect::<gst::Caps>(),
audio_caps: ["audio/x-opus"]
- .iter()
- .map(|s| gst::Structure::new_empty(s))
+ .into_iter()
+ .map(gst::Structure::new_empty)
.collect::<gst::Caps>(),
stun_server: None,
turn_server: None,