diff options
author | François Laignel <fengalin@free.fr> | 2021-04-20 15:58:11 +0300 |
---|---|---|
committer | François Laignel <fengalin@free.fr> | 2021-04-20 19:19:58 +0300 |
commit | 67c5871957a583c5817156891cb6586a54e6d5f4 (patch) | |
tree | 3d9aff3447876b8d17df180b8a0e9b9594f90b5d /generic/sodium/src/encrypter | |
parent | 27bc5c89cad7dfec9cc12c6c87beca76a4a0b139 (diff) |
fix-getters-calls 0.3.0 pass
Diffstat (limited to 'generic/sodium/src/encrypter')
-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 b8d3ff37e..4cc7e432d 100644 --- a/generic/sodium/src/encrypter/imp.rs +++ b/generic/sodium/src/encrypter/imp.rs @@ -341,7 +341,7 @@ impl ObjectSubclass for Encrypter { type ParentType = gst::Element; fn with_class(klass: &Self::Class) -> Self { - let templ = klass.get_pad_template("sink").unwrap(); + let templ = klass.pad_template("sink").unwrap(); let sinkpad = gst::Pad::builder_with_template(&templ, Some("sink")) .chain_function(|pad, parent, buffer| { Encrypter::catch_panic_pad_function( @@ -359,7 +359,7 @@ impl ObjectSubclass for Encrypter { }) .build(); - let templ = klass.get_pad_template("src").unwrap(); + let templ = klass.pad_template("src").unwrap(); let srcpad = gst::Pad::builder_with_template(&templ, Some("src")) .query_function(|pad, parent, query| { Encrypter::catch_panic_pad_function( |