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
path: root/mux/mp4
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2023-01-25 11:23:46 +0300
committerSebastian Dröge <sebastian@centricular.com>2023-01-25 11:31:19 +0300
commit3b4c48d9f55ae5bfb6eb4fe485edf54f8916d955 (patch)
tree69f065a49d4035b924d0c1f7025186d597a55590 /mux/mp4
parentad3f1cf534b475d47d4ef4d0e8916d507c6e56e5 (diff)
Fix various new clippy warnings
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1062>
Diffstat (limited to 'mux/mp4')
-rw-r--r--mux/mp4/tests/tests.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/mux/mp4/tests/tests.rs b/mux/mp4/tests/tests.rs
index d1560b763..b4d480f46 100644
--- a/mux/mp4/tests/tests.rs
+++ b/mux/mp4/tests/tests.rs
@@ -107,8 +107,7 @@ fn test_basic() {
.field("mpegversion", 4i32)
.build()
),
- "Unexpected audio caps {:?}",
- caps
+ "Unexpected audio caps {caps:?}"
);
let video_streams = info.video_streams();
@@ -122,7 +121,6 @@ fn test_basic() {
let caps = video_stream.caps().unwrap();
assert!(
caps.can_intersect(&gst::Caps::builder("video/x-h264").any_features().build()),
- "Unexpected video caps {:?}",
- caps
+ "Unexpected video caps {caps:?}"
);
}