diff options
Diffstat (limited to 'generic/sodium/src/decrypter/imp.rs')
-rw-r--r-- | generic/sodium/src/decrypter/imp.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/sodium/src/decrypter/imp.rs b/generic/sodium/src/decrypter/imp.rs index 14eb003ff..1e0fd5f7a 100644 --- a/generic/sodium/src/decrypter/imp.rs +++ b/generic/sodium/src/decrypter/imp.rs @@ -300,7 +300,7 @@ impl Decrypter { } QueryViewMut::Duration(q) => { if q.format() != gst::Format::Bytes { - return gst::Pad::query_default(pad, Some(&*self.instance()), query); + return gst::Pad::query_default(pad, Some(&*self.obj()), query); } /* First let's query the bytes duration upstream */ @@ -341,7 +341,7 @@ impl Decrypter { true } - _ => gst::Pad::query_default(pad, Some(&*self.instance()), query), + _ => gst::Pad::query_default(pad, Some(&*self.obj()), query), } } @@ -594,7 +594,7 @@ impl ObjectImpl for Decrypter { fn constructed(&self) { self.parent_constructed(); - let obj = self.instance(); + let obj = self.obj(); obj.add_pad(&self.sinkpad).unwrap(); obj.add_pad(&self.srcpad).unwrap(); } |