forked from mirrors/gstreamer-rs
Fix a couple of new Rust 1.69 clippy warnings
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1250>
This commit is contained in:
parent
145664ec0d
commit
86eb6c2bd8
2 changed files with 2 additions and 2 deletions
|
@ -105,7 +105,7 @@ impl<O: IsA<Aggregator>> AggregatorExtManual for O {
|
|||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
||||
fn set_min_upstream_latency(&self, min_upstream_latency: gst::ClockTime) {
|
||||
self.as_ref()
|
||||
.set_property("min-upstream-latency", &min_upstream_latency);
|
||||
.set_property("min-upstream-latency", min_upstream_latency);
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||
|
|
|
@ -12,7 +12,7 @@ use crate::auto::Discoverer;
|
|||
|
||||
impl Discoverer {
|
||||
pub fn set_timeout(&self, timeout: gst::ClockTime) {
|
||||
self.set_property("timeout", &timeout);
|
||||
self.set_property("timeout", timeout);
|
||||
}
|
||||
|
||||
pub fn timeout(&self) -> gst::ClockTime {
|
||||
|
|
Loading…
Reference in a new issue