diff options
Diffstat (limited to 'generic/threadshare/src/udpsink.rs')
-rw-r--r-- | generic/threadshare/src/udpsink.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/threadshare/src/udpsink.rs b/generic/threadshare/src/udpsink.rs index 04a39146a..1f2b7151e 100644 --- a/generic/threadshare/src/udpsink.rs +++ b/generic/threadshare/src/udpsink.rs @@ -1294,7 +1294,7 @@ impl ObjectSubclass for UdpSink { Self { 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")), sink_pad_handler.clone(), ), sink_pad_handler, |