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 /video/dav1d
parent67f566dd287bf19c3e51a2f893dec5b70c27b6a1 (diff)
Fix various needless-borrow clippy warnings and others
Diffstat (limited to 'video/dav1d')
-rw-r--r--video/dav1d/src/dav1ddec/imp.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/dav1d/src/dav1ddec/imp.rs b/video/dav1d/src/dav1ddec/imp.rs
index 2aad908b4..2239e4874 100644
--- a/video/dav1d/src/dav1ddec/imp.rs
+++ b/video/dav1d/src/dav1ddec/imp.rs
@@ -253,14 +253,14 @@ impl Dav1dDec {
pic: &dav1d::Picture,
format: gst_video::VideoFormat,
) -> Result<gst::FlowSuccess, gst::FlowError> {
- self.handle_resolution_change(element, &pic, format)?;
+ self.handle_resolution_change(element, pic, format)?;
let output_state = element
.output_state()
.expect("Output state not set. Shouldn't happen!");
let offset = pic.offset() as i32;
if let Some(mut frame) = element.frame(offset) {
- let output_buffer = self.decoded_picture_as_buffer(&pic, output_state)?;
+ let output_buffer = self.decoded_picture_as_buffer(pic, output_state)?;
frame.set_output_buffer(output_buffer);
element.finish_frame(frame)?;
} else {