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:
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>2020-06-11 13:45:15 +0300
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>2020-06-11 14:07:01 +0300
commite85799b9d6ba89e3f3e76a5d092bc7145121af03 (patch)
treefd7a55babaeee17f4db46bbf04585566cecf02fe /utils/fallbackswitch/src/fallbackswitch.rs
parented4fa7fde40506888947dadb5632b880fc7aaba6 (diff)
use new constructor names
Diffstat (limited to 'utils/fallbackswitch/src/fallbackswitch.rs')
-rw-r--r--utils/fallbackswitch/src/fallbackswitch.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/fallbackswitch/src/fallbackswitch.rs b/utils/fallbackswitch/src/fallbackswitch.rs
index 5f41ec169..36c4c1e5f 100644
--- a/utils/fallbackswitch/src/fallbackswitch.rs
+++ b/utils/fallbackswitch/src/fallbackswitch.rs
@@ -392,7 +392,7 @@ impl ObjectSubclass for FallbackSwitch {
);
let caps = gst::Caps::new_any();
- let src_pad_template = gst::PadTemplate::new_with_gtype(
+ let src_pad_template = gst::PadTemplate::with_gtype(
"src",
gst::PadDirection::Src,
gst::PadPresence::Always,
@@ -402,7 +402,7 @@ impl ObjectSubclass for FallbackSwitch {
.unwrap();
klass.add_pad_template(src_pad_template);
- let sink_pad_template = gst::PadTemplate::new_with_gtype(
+ let sink_pad_template = gst::PadTemplate::with_gtype(
"sink",
gst::PadDirection::Sink,
gst::PadPresence::Always,
@@ -412,7 +412,7 @@ impl ObjectSubclass for FallbackSwitch {
.unwrap();
klass.add_pad_template(sink_pad_template);
- let fallbacksink_pad_template = gst::PadTemplate::new_with_gtype(
+ let fallbacksink_pad_template = gst::PadTemplate::with_gtype(
"fallback_sink",
gst::PadDirection::Sink,
gst::PadPresence::Request,