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 /generic/threadshare/src/inputselector/imp.rs | |
parent | 763ad0cb184e9b68bd215c9e5fe63f391a581e2d (diff) |
Update for event/message/query view API changes
Diffstat (limited to 'generic/threadshare/src/inputselector/imp.rs')
-rw-r--r-- | generic/threadshare/src/inputselector/imp.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/threadshare/src/inputselector/imp.rs b/generic/threadshare/src/inputselector/imp.rs index 8c75248d0..27f921981 100644 --- a/generic/threadshare/src/inputselector/imp.rs +++ b/generic/threadshare/src/inputselector/imp.rs @@ -287,12 +287,12 @@ impl PadSrcHandler for InputSelectorPadSrcHandler { _element: &gst::Element, query: &mut gst::QueryRef, ) -> bool { - use gst::QueryView; + use gst::QueryViewMut; gst_log!(CAT, obj: pad.gst_pad(), "Handling {:?}", query); match query.view_mut() { - QueryView::Latency(ref mut q) => { + QueryViewMut::Latency(q) => { let mut ret = true; let mut min_latency = gst::ClockTime::ZERO; let mut max_latency = gst::ClockTime::NONE; |