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:
Diffstat (limited to 'generic/threadshare/tests/pipeline.rs')
-rw-r--r--generic/threadshare/tests/pipeline.rs14
1 files changed, 7 insertions, 7 deletions
diff --git a/generic/threadshare/tests/pipeline.rs b/generic/threadshare/tests/pipeline.rs
index 6b9f55343..91e5882a8 100644
--- a/generic/threadshare/tests/pipeline.rs
+++ b/generic/threadshare/tests/pipeline.rs
@@ -85,9 +85,9 @@ fn multiple_contexts_queue() {
.build();
pipeline
- .add_many(&[&src, &queue, sink.upcast_ref()])
+ .add_many([&src, &queue, sink.upcast_ref()])
.unwrap();
- gst::Element::link_many(&[&src, &queue, sink.upcast_ref()]).unwrap();
+ gst::Element::link_many([&src, &queue, sink.upcast_ref()]).unwrap();
let sender_clone = sender.clone();
sink.set_callbacks(
@@ -230,7 +230,7 @@ fn multiple_contexts_proxy() {
.build();
pipeline
- .add_many(&[&src, &proxysink, &proxysrc, sink.upcast_ref()])
+ .add_many([&src, &proxysink, &proxysrc, sink.upcast_ref()])
.unwrap();
src.link(&proxysink).unwrap();
proxysrc.link(&sink).unwrap();
@@ -353,9 +353,9 @@ fn eos() {
.build();
pipeline
- .add_many(&[&src, &queue, sink.upcast_ref()])
+ .add_many([&src, &queue, sink.upcast_ref()])
.unwrap();
- gst::Element::link_many(&[&src, &queue, sink.upcast_ref()]).unwrap();
+ gst::Element::link_many([&src, &queue, sink.upcast_ref()]).unwrap();
let (sample_notifier, sample_notif_rcv) = mpsc::channel();
let (eos_notifier, eos_notif_rcv) = mpsc::channel();
@@ -487,9 +487,9 @@ fn premature_shutdown() {
.build();
pipeline
- .add_many(&[&src, &queue, sink.upcast_ref()])
+ .add_many([&src, &queue, sink.upcast_ref()])
.unwrap();
- gst::Element::link_many(&[&src, &queue, sink.upcast_ref()]).unwrap();
+ gst::Element::link_many([&src, &queue, sink.upcast_ref()]).unwrap();
let (appsink_sender, appsink_receiver) = mpsc::channel();