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/src/appsrc.rs')
-rw-r--r--generic/threadshare/src/appsrc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/threadshare/src/appsrc.rs b/generic/threadshare/src/appsrc.rs
index 8bc923029..3590b8536 100644
--- a/generic/threadshare/src/appsrc.rs
+++ b/generic/threadshare/src/appsrc.rs
@@ -630,7 +630,7 @@ impl ObjectSubclass for AppSrc {
Self {
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")),
src_pad_handler.clone(),
),
src_pad_handler,