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:
Diffstat (limited to 'generic/threadshare/tests/pad.rs')
-rw-r--r--generic/threadshare/tests/pad.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/threadshare/tests/pad.rs b/generic/threadshare/tests/pad.rs
index 0cea01265..182db3184 100644
--- a/generic/threadshare/tests/pad.rs
+++ b/generic/threadshare/tests/pad.rs
@@ -325,7 +325,7 @@ impl ObjectSubclass for ElementSrcTest {
fn new_with_class(klass: &glib::subclass::simple::ClassStruct<Self>) -> Self {
ElementSrcTest {
src_pad: PadSrc::new(
- gst::Pad::new_from_template(&klass.get_pad_template("src").unwrap(), Some("src")),
+ gst::Pad::from_template(&klass.get_pad_template("src").unwrap(), Some("src")),
PadSrcTestHandler,
),
task: Task::default(),
@@ -639,7 +639,7 @@ impl ObjectSubclass for ElementSinkTest {
fn new_with_class(klass: &glib::subclass::simple::ClassStruct<Self>) -> Self {
ElementSinkTest {
sink_pad: PadSink::new(
- gst::Pad::new_from_template(&klass.get_pad_template("sink").unwrap(), Some("sink")),
+ gst::Pad::from_template(&klass.get_pad_template("sink").unwrap(), Some("sink")),
PadSinkTestHandler,
),
flushing: AtomicBool::new(true),