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:
authorFrançois Laignel <fengalin@free.fr>2021-04-20 15:58:11 +0300
committerFrançois Laignel <fengalin@free.fr>2021-04-20 19:19:58 +0300
commit67c5871957a583c5817156891cb6586a54e6d5f4 (patch)
tree3d9aff3447876b8d17df180b8a0e9b9594f90b5d /video/webp
parent27bc5c89cad7dfec9cc12c6c87beca76a4a0b139 (diff)
fix-getters-calls 0.3.0 pass
Diffstat (limited to 'video/webp')
-rw-r--r--video/webp/build.rs2
-rw-r--r--video/webp/src/dec/imp.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/video/webp/build.rs b/video/webp/build.rs
index 17be1215e..cda12e57e 100644
--- a/video/webp/build.rs
+++ b/video/webp/build.rs
@@ -1,3 +1,3 @@
fn main() {
- gst_plugin_version_helper::get_info()
+ gst_plugin_version_helper::info()
}
diff --git a/video/webp/src/dec/imp.rs b/video/webp/src/dec/imp.rs
index a81778aac..0060284a2 100644
--- a/video/webp/src/dec/imp.rs
+++ b/video/webp/src/dec/imp.rs
@@ -291,7 +291,7 @@ impl ObjectSubclass for WebPDec {
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| {
WebPDec::catch_panic_pad_function(
@@ -309,7 +309,7 @@ impl ObjectSubclass for WebPDec {
})
.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"))
.event_function(|pad, parent, event| {
WebPDec::catch_panic_pad_function(