diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.com> | 2020-06-11 13:45:15 +0300 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.com> | 2020-06-11 14:07:01 +0300 |
commit | e85799b9d6ba89e3f3e76a5d092bc7145121af03 (patch) | |
tree | fd7a55babaeee17f4db46bbf04585566cecf02fe /generic/sodium/src/decrypter.rs | |
parent | ed4fa7fde40506888947dadb5632b880fc7aaba6 (diff) |
use new constructor names
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()); |