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>2018-11-05 14:43:11 +0300
committerSebastian Dröge <sebastian@centricular.com>2018-11-05 14:43:11 +0300
commit6c32b702f0cac5d5987b7ccf511a13ff50aaa9df (patch)
treeadb177599831fc381253e81dfea8927c80393159 /gst-plugin-threadshare/src/appsrc.rs
parent20bec35c68176a46b8ff4f8b02cb24e6c72c1c01 (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.rs4
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_)
}