diff options
Diffstat (limited to 'generic/threadshare/src/udpsrc.rs')
-rw-r--r-- | generic/threadshare/src/udpsrc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/threadshare/src/udpsrc.rs b/generic/threadshare/src/udpsrc.rs index fa49a40c6..62f832a6c 100644 --- a/generic/threadshare/src/udpsrc.rs +++ b/generic/threadshare/src/udpsrc.rs @@ -823,7 +823,7 @@ impl ObjectSubclass for UdpSrc { 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, |