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/closedcaption/src/cea608tojson/imp.rs
parent27bc5c89cad7dfec9cc12c6c87beca76a4a0b139 (diff)
fix-getters-calls 0.3.0 pass
Diffstat (limited to 'video/closedcaption/src/cea608tojson/imp.rs')
-rw-r--r--video/closedcaption/src/cea608tojson/imp.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/closedcaption/src/cea608tojson/imp.rs b/video/closedcaption/src/cea608tojson/imp.rs
index 9712d57ac..c245b51a2 100644
--- a/video/closedcaption/src/cea608tojson/imp.rs
+++ b/video/closedcaption/src/cea608tojson/imp.rs
@@ -824,7 +824,7 @@ impl ObjectSubclass for Cea608ToJson {
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| {
Cea608ToJson::catch_panic_pad_function(
@@ -843,7 +843,7 @@ impl ObjectSubclass for Cea608ToJson {
.flags(gst::PadFlags::FIXED_CAPS)
.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"))
.flags(gst::PadFlags::FIXED_CAPS)
.build();