diff --git a/Gir_Gst.toml b/Gir_Gst.toml index b3819e573..86ab87f62 100644 --- a/Gir_Gst.toml +++ b/Gir_Gst.toml @@ -960,6 +960,11 @@ status = "generate" [object.function.return] nullable = false + [[object.function]] + name = "parse_bin_from_description" + [object.function.return] + nullable = false + [[object]] name = "Gst.StateChangeReturn" status = "generate" diff --git a/gstreamer/src/auto/functions.rs b/gstreamer/src/auto/functions.rs index 903b457ec..2f4fb5c64 100644 --- a/gstreamer/src/auto/functions.rs +++ b/gstreamer/src/auto/functions.rs @@ -117,7 +117,7 @@ pub fn debug_unset_threshold_for_name(name: &str) { } } -pub fn parse_bin_from_description(bin_description: &str, ghost_unlinked_pads: bool) -> Result, Error> { +pub fn parse_bin_from_description(bin_description: &str, ghost_unlinked_pads: bool) -> Result { assert_initialized_main_thread!(); unsafe { let mut error = ptr::null_mut();