diff options
Diffstat (limited to 'generic/sodium')
-rw-r--r-- | generic/sodium/src/decrypter/imp.rs | 6 | ||||
-rw-r--r-- | generic/sodium/src/encrypter/imp.rs | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/generic/sodium/src/decrypter/imp.rs b/generic/sodium/src/decrypter/imp.rs index 02e0faa00..10cfd80e9 100644 --- a/generic/sodium/src/decrypter/imp.rs +++ b/generic/sodium/src/decrypter/imp.rs @@ -285,12 +285,12 @@ impl Decrypter { element: &super::Decrypter, query: &mut gst::QueryRef, ) -> bool { - use gst::QueryView; + use gst::QueryViewMut; gst_log!(CAT, obj: pad, "Handling query {:?}", query); match query.view_mut() { - QueryView::Scheduling(mut q) => { + QueryViewMut::Scheduling(q) => { let mut peer_query = gst::query::Scheduling::new(); let res = self.sinkpad.peer_query(&mut peer_query); if !res { @@ -305,7 +305,7 @@ impl Decrypter { gst_log!(CAT, obj: pad, "Returning {:?}", q.query_mut()); true } - QueryView::Duration(ref mut q) => { + QueryViewMut::Duration(q) => { if q.format() != gst::Format::Bytes { return pad.query_default(Some(element), query); } diff --git a/generic/sodium/src/encrypter/imp.rs b/generic/sodium/src/encrypter/imp.rs index fe57cf485..35c2c60cc 100644 --- a/generic/sodium/src/encrypter/imp.rs +++ b/generic/sodium/src/encrypter/imp.rs @@ -268,12 +268,12 @@ impl Encrypter { element: &super::Encrypter, query: &mut gst::QueryRef, ) -> bool { - use gst::QueryView; + use gst::QueryViewMut; gst_log!(CAT, obj: pad, "Handling query {:?}", query); match query.view_mut() { - QueryView::Seeking(mut q) => { + QueryViewMut::Seeking(q) => { let format = q.format(); q.set( false, @@ -283,7 +283,7 @@ impl Encrypter { gst_log!(CAT, obj: pad, "Returning {:?}", q.query_mut()); true } - QueryView::Duration(ref mut q) => { + QueryViewMut::Duration(q) => { if q.format() != gst::Format::Bytes { return pad.query_default(Some(element), query); } |