diff options
Diffstat (limited to 'generic/sodium/src/decrypter.rs')
-rw-r--r-- | generic/sodium/src/decrypter.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/sodium/src/decrypter.rs b/generic/sodium/src/decrypter.rs index 39891ee17..b6eae734d 100644 --- a/generic/sodium/src/decrypter.rs +++ b/generic/sodium/src/decrypter.rs @@ -596,9 +596,9 @@ impl ObjectSubclass for Decrypter { fn new_with_class(klass: &subclass::simple::ClassStruct<Self>) -> Self { let templ = klass.get_pad_template("sink").unwrap(); - let sinkpad = gst::Pad::new_from_template(&templ, Some("sink")); + let sinkpad = gst::Pad::from_template(&templ, Some("sink")); let templ = klass.get_pad_template("src").unwrap(); - let srcpad = gst::Pad::new_from_template(&templ, Some("src")); + let srcpad = gst::Pad::from_template(&templ, Some("src")); Decrypter::set_pad_functions(&sinkpad, &srcpad); let props = Mutex::new(Props::default()); |