Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'generic/sodium/src/decrypter/imp.rs')
-rw-r--r--generic/sodium/src/decrypter/imp.rs6
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();
}