mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-06 01:29:37 +00:00
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]
|
||||
nullable = false
|
||||
|
||||
[[object.function]]
|
||||
name = "parse_bin_from_description"
|
||||
[object.function.return]
|
||||
nullable = false
|
||||
|
||||
[[object]]
|
||||
name = "Gst.StateChangeReturn"
|
||||
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!();
|
||||
unsafe {
|
||||
let mut error = ptr::null_mut();
|
||||
|
|
Loading…
Reference in a new issue