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>2021-07-30 13:53:35 +0300
committerSebastian Dröge <sebastian@centricular.com>2021-07-30 13:53:35 +0300
commit052365ba1ade85dd10490cb156741226c66e6de5 (patch)
tree659856f3715b41ad27f6769db02c248065dde392 /generic/threadshare/src/appsrc/imp.rs
parent67f566dd287bf19c3e51a2f893dec5b70c27b6a1 (diff)
Fix various needless-borrow clippy warnings and others
Diffstat (limited to 'generic/threadshare/src/appsrc/imp.rs')
-rw-r--r--generic/threadshare/src/appsrc/imp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/threadshare/src/appsrc/imp.rs b/generic/threadshare/src/appsrc/imp.rs
index 2fdf6cff8..2f5dd4284 100644
--- a/generic/threadshare/src/appsrc/imp.rs
+++ b/generic/threadshare/src/appsrc/imp.rs
@@ -134,7 +134,7 @@ impl AppSrcPadHandler {
pad.push_event(stream_start_evt).await;
if let Some(ref caps) = state.caps {
- pad.push_event(gst::event::Caps::new(&caps)).await;
+ pad.push_event(gst::event::Caps::new(caps)).await;
*self.0.configured_caps.lock().unwrap() = Some(caps.clone());
}