forked from mirrors/gstreamer-rs
parse_bin_from_description() return value is not nullable, except for errors
This commit is contained in:
parent
210119d9aa
commit
e34212d517
2 changed files with 6 additions and 1 deletions
|
@ -960,6 +960,11 @@ status = "generate"
|
||||||
[object.function.return]
|
[object.function.return]
|
||||||
nullable = false
|
nullable = false
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "parse_bin_from_description"
|
||||||
|
[object.function.return]
|
||||||
|
nullable = false
|
||||||
|
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "Gst.StateChangeReturn"
|
name = "Gst.StateChangeReturn"
|
||||||
status = "generate"
|
status = "generate"
|
||||||
|
|
|
@ -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<Option<Bin>, Error> {
|
pub fn parse_bin_from_description(bin_description: &str, ghost_unlinked_pads: bool) -> Result<Bin, Error> {
|
||||||
assert_initialized_main_thread!();
|
assert_initialized_main_thread!();
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut error = ptr::null_mut();
|
let mut error = ptr::null_mut();
|
||||||
|
|
Loading…
Reference in a new issue