diff options
Diffstat (limited to 'audio/audiofx')
-rw-r--r-- | audio/audiofx/src/audioloudnorm/imp.rs | 4 | ||||
-rw-r--r-- | audio/audiofx/src/audiornnoise/imp.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/audio/audiofx/src/audioloudnorm/imp.rs b/audio/audiofx/src/audioloudnorm/imp.rs index 6c2fbdaf6..e08d3231d 100644 --- a/audio/audiofx/src/audioloudnorm/imp.rs +++ b/audio/audiofx/src/audioloudnorm/imp.rs @@ -1689,11 +1689,11 @@ impl AudioLoudNorm { element: &super::AudioLoudNorm, query: &mut gst::QueryRef, ) -> bool { - use gst::QueryView; + use gst::QueryViewMut; gst_log!(CAT, obj: pad, "Handling query {:?}", query); match query.view_mut() { - QueryView::Latency(ref mut q) => { + QueryViewMut::Latency(q) => { let mut peer_query = gst::query::Latency::new(); if self.sinkpad.peer_query(&mut peer_query) { let (live, min_latency, max_latency) = peer_query.result(); diff --git a/audio/audiofx/src/audiornnoise/imp.rs b/audio/audiofx/src/audiornnoise/imp.rs index 1e865414e..ea12101c9 100644 --- a/audio/audiofx/src/audiornnoise/imp.rs +++ b/audio/audiofx/src/audiornnoise/imp.rs @@ -352,7 +352,7 @@ impl BaseTransformImpl for AudioRNNoise { query: &mut gst::QueryRef, ) -> bool { if direction == gst::PadDirection::Src { - if let gst::QueryView::Latency(ref mut q) = query.view_mut() { + if let gst::QueryViewMut::Latency(q) = query.view_mut() { let sink_pad = element.static_pad("sink").expect("Sink pad not found"); let mut upstream_query = gst::query::Latency::new(); if sink_pad.peer_query(&mut upstream_query) { |