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/queue.rs')
-rw-r--r--generic/threadshare/src/queue.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/threadshare/src/queue.rs b/generic/threadshare/src/queue.rs
index 021643351..a51afd74a 100644
--- a/generic/threadshare/src/queue.rs
+++ b/generic/threadshare/src/queue.rs
@@ -792,11 +792,11 @@ impl ObjectSubclass for Queue {
fn new_with_class(klass: &subclass::simple::ClassStruct<Self>) -> Self {
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")),
QueuePadSinkHandler,
),
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")),
QueuePadSrcHandler,
),
task: Task::default(),