diff options
Diffstat (limited to 'generic/threadshare/src/appsrc.rs')
-rw-r--r-- | generic/threadshare/src/appsrc.rs | 2 |
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, |