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]
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]]
name = "codec_utils_opus_create_caps"
# Manual checks
@ -362,8 +367,6 @@ status = "generate"
[[object.function]]
name = "from_string"
[object.function.return]
# https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6775
nullable = true
nullable_return_is_error = "Failed to create EncodingProfile from string"
[[object]]