diff options
Diffstat (limited to 'generic/threadshare/src/proxy/imp.rs')
-rw-r--r-- | generic/threadshare/src/proxy/imp.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/threadshare/src/proxy/imp.rs b/generic/threadshare/src/proxy/imp.rs index 04acca05a..505374147 100644 --- a/generic/threadshare/src/proxy/imp.rs +++ b/generic/threadshare/src/proxy/imp.rs @@ -542,7 +542,7 @@ impl ObjectSubclass for ProxySink { fn with_class(klass: &Self::Class) -> Self { Self { sink_pad: PadSink::new( - gst::Pad::from_template(&klass.pad_template("sink").unwrap(), Some("sink")), + gst::Pad::from_template(&klass.pad_template("sink").unwrap()), ProxySinkPadHandler, ), proxy_ctx: Mutex::new(None), @@ -1045,7 +1045,7 @@ impl ObjectSubclass for ProxySrc { fn with_class(klass: &Self::Class) -> Self { Self { src_pad: PadSrc::new( - gst::Pad::from_template(&klass.pad_template("src").unwrap(), Some("src")), + gst::Pad::from_template(&klass.pad_template("src").unwrap()), ProxySrcPadHandler, ), task: Task::default(), |