diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2022-01-19 16:07:45 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2022-01-19 16:07:45 +0300 |
commit | 65fcd55160d126c549a89b613cdf84714a5b346e (patch) | |
tree | 83bd17f3deb9bc37ffa23b9819798ae744705c4a /audio/audiofx/src/audioloudnorm/imp.rs | |
parent | 763ad0cb184e9b68bd215c9e5fe63f391a581e2d (diff) |
Update for event/message/query view API changes
Diffstat (limited to 'audio/audiofx/src/audioloudnorm/imp.rs')
-rw-r--r-- | audio/audiofx/src/audioloudnorm/imp.rs | 4 |
1 files changed, 2 insertions, 2 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(); |