diff options
Diffstat (limited to 'generic/sodium/src/encrypter/imp.rs')
-rw-r--r-- | generic/sodium/src/encrypter/imp.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/sodium/src/encrypter/imp.rs b/generic/sodium/src/encrypter/imp.rs index af99edde6..b6560e0f7 100644 --- a/generic/sodium/src/encrypter/imp.rs +++ b/generic/sodium/src/encrypter/imp.rs @@ -329,7 +329,7 @@ impl ObjectSubclass for Encrypter { fn with_class(klass: &Self::Class) -> Self { let templ = klass.pad_template("sink").unwrap(); - let sinkpad = gst::Pad::builder_with_template(&templ, Some("sink")) + let sinkpad = gst::Pad::builder_from_template(&templ) .chain_function(|pad, parent, buffer| { Encrypter::catch_panic_pad_function( parent, @@ -347,7 +347,7 @@ impl ObjectSubclass for Encrypter { .build(); let templ = klass.pad_template("src").unwrap(); - let srcpad = gst::Pad::builder_with_template(&templ, Some("src")) + let srcpad = gst::Pad::builder_from_template(&templ) .query_function(|pad, parent, query| { Encrypter::catch_panic_pad_function( parent, |