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/jitterbuffer/imp.rs | |
parent | 763ad0cb184e9b68bd215c9e5fe63f391a581e2d (diff) |
Update for event/message/query view API changes
Diffstat (limited to 'generic/threadshare/src/jitterbuffer/imp.rs')
-rw-r--r-- | generic/threadshare/src/jitterbuffer/imp.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/threadshare/src/jitterbuffer/imp.rs b/generic/threadshare/src/jitterbuffer/imp.rs index 084d1f5d6..2e50d864b 100644 --- a/generic/threadshare/src/jitterbuffer/imp.rs +++ b/generic/threadshare/src/jitterbuffer/imp.rs @@ -933,12 +933,12 @@ impl PadSrcHandler for SrcHandler { _element: &gst::Element, query: &mut gst::QueryRef, ) -> bool { - use gst::QueryView; + use gst::QueryViewMut; gst_log!(CAT, obj: pad.gst_pad(), "Forwarding {:?}", query); match query.view_mut() { - QueryView::Latency(ref mut q) => { + QueryViewMut::Latency(q) => { let mut peer_query = gst::query::Latency::new(); let ret = jb.sink_pad.gst_pad().peer_query(&mut peer_query); @@ -954,7 +954,7 @@ impl PadSrcHandler for SrcHandler { ret } - QueryView::Position(ref mut q) => { + QueryViewMut::Position(q) => { if q.format() != gst::Format::Time { jb.sink_pad.gst_pad().peer_query(query) } else { |