diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2021-07-30 13:53:35 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2021-07-30 13:53:35 +0300 |
commit | 052365ba1ade85dd10490cb156741226c66e6de5 (patch) | |
tree | 659856f3715b41ad27f6769db02c248065dde392 /generic/threadshare/src/appsrc/imp.rs | |
parent | 67f566dd287bf19c3e51a2f893dec5b70c27b6a1 (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.rs | 2 |
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()); } |