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:
authorSebastian Dröge <sebastian@centricular.com>2019-01-29 18:26:40 +0300
committerSebastian Dröge <sebastian@centricular.com>2019-01-29 18:33:06 +0300
commit9db02cb55e7769847747e74a833568bb23a68d0f (patch)
tree986c98910bcc19b8d291d67a51d3433be953ee03 /gst-plugin-audiofx/src/audioecho.rs
parent2a656a98b66c133b63225b049fb9dba44d420218 (diff)
Fixes for gstreamer-rs API changes
Creating pad templates can return None now.
Diffstat (limited to 'gst-plugin-audiofx/src/audioecho.rs')
-rw-r--r--gst-plugin-audiofx/src/audioecho.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/gst-plugin-audiofx/src/audioecho.rs b/gst-plugin-audiofx/src/audioecho.rs
index 4fe136f24..a5b7e04a0 100644
--- a/gst-plugin-audiofx/src/audioecho.rs
+++ b/gst-plugin-audiofx/src/audioecho.rs
@@ -172,7 +172,8 @@ impl ObjectSubclass for AudioEcho {
gst::PadDirection::Src,
gst::PadPresence::Always,
&caps,
- );
+ )
+ .unwrap();
klass.add_pad_template(src_pad_template);
let sink_pad_template = gst::PadTemplate::new(
@@ -180,7 +181,8 @@ impl ObjectSubclass for AudioEcho {
gst::PadDirection::Sink,
gst::PadPresence::Always,
&caps,
- );
+ )
+ .unwrap();
klass.add_pad_template(sink_pad_template);
klass.install_properties(&PROPERTIES);