diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2018-11-05 14:43:11 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2018-11-05 14:43:11 +0300 |
commit | 6c32b702f0cac5d5987b7ccf511a13ff50aaa9df (patch) | |
tree | adb177599831fc381253e81dfea8927c80393159 /gst-plugin-threadshare/src/appsrc.rs | |
parent | 20bec35c68176a46b8ff4f8b02cb24e6c72c1c01 (diff) |
Fix build with gst-plugin-rs API changes
Diffstat (limited to 'gst-plugin-threadshare/src/appsrc.rs')
-rw-r--r-- | gst-plugin-threadshare/src/appsrc.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst-plugin-threadshare/src/appsrc.rs b/gst-plugin-threadshare/src/appsrc.rs index c479f65e3..0977cf3d7 100644 --- a/gst-plugin-threadshare/src/appsrc.rs +++ b/gst-plugin-threadshare/src/appsrc.rs @@ -666,7 +666,7 @@ impl ImplTypeStatic<Element> for AppSrcStatic { } } -pub fn register(plugin: &gst::Plugin) { +pub fn register(plugin: &gst::Plugin)-> Result<(), glib::BoolError> { let type_ = register_type(AppSrcStatic); - gst::Element::register(plugin, "ts-appsrc", 0, type_); + gst::Element::register(plugin, "ts-appsrc", 0, type_) } |