mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 11:01:10 +00:00
Fix a couple of new Rust 1.69 clippy warnings
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1252>
This commit is contained in:
parent
8d478c3fc9
commit
b611f9702c
2 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,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