pbutils: Remove unnecessary nullable override and add override for new API

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1440>
This commit is contained in:
Sebastian Dröge 2024-05-10 09:48:11 +03:00
parent b15e0e1633
commit b8dbfc66ca

View file

@ -146,6 +146,11 @@ status = "generate"
[object.function.return] [object.function.return]
nullable_return_is_error = "Unsupported caps" nullable_return_is_error = "Unsupported caps"
[[object.function]]
name = "codec_utils_av1_get_level"
[object.function.return]
nullable_return_is_error = "Failed to get AV1 level"
[[object.function]] [[object.function]]
name = "codec_utils_opus_create_caps" name = "codec_utils_opus_create_caps"
# Manual checks # Manual checks
@ -362,8 +367,6 @@ status = "generate"
[[object.function]] [[object.function]]
name = "from_string" name = "from_string"
[object.function.return] [object.function.return]
# https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6775
nullable = true
nullable_return_is_error = "Failed to create EncodingProfile from string" nullable_return_is_error = "Failed to create EncodingProfile from string"
[[object]] [[object]]