From 87cc9fe6e4bbeffaaba2578f2efa28b41d1a0d93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 30 Apr 2024 11:29:10 +0300 Subject: [PATCH] Fix or update various overrides in Gir.toml Part-of: --- gstreamer-audio/Gir.toml | 4 ++++ gstreamer-net/Gir.toml | 5 ----- gstreamer-pbutils/Gir.toml | 7 +++++++ gstreamer-video/Gir.toml | 8 ++++++++ 4 files changed, 19 insertions(+), 5 deletions(-) diff --git a/gstreamer-audio/Gir.toml b/gstreamer-audio/Gir.toml index 27d2bd9d5..90ea68eb9 100644 --- a/gstreamer-audio/Gir.toml +++ b/gstreamer-audio/Gir.toml @@ -327,6 +327,10 @@ status = "generate" # Platform dependant manual = true + [[object.member]] + name = "last" + ignore = true + [[object.function]] name = "to_string" # This has an Unknown field that may return NULL or "UNKNOWN" diff --git a/gstreamer-net/Gir.toml b/gstreamer-net/Gir.toml index 2b037b86d..9161df152 100644 --- a/gstreamer-net/Gir.toml +++ b/gstreamer-net/Gir.toml @@ -61,10 +61,5 @@ final_type = true name = "new" [[object.function.parameter]] name = "name" - # See https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6251 - nullable = true - [object.function.return] - # See https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6251 - nullable = true nullable_return_is_error = "Can't create gst::PtpClock" diff --git a/gstreamer-pbutils/Gir.toml b/gstreamer-pbutils/Gir.toml index da0610e14..e21c5f8ca 100644 --- a/gstreamer-pbutils/Gir.toml +++ b/gstreamer-pbutils/Gir.toml @@ -359,6 +359,13 @@ status = "generate" [object.function.return] nullable_return_is_error = "Failed to create EncodingProfile from DiscovererInfo" + [[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]] name = "GstPbutils.EncodingTarget" status = "generate" diff --git a/gstreamer-video/Gir.toml b/gstreamer-video/Gir.toml index 108abb774..753092f89 100644 --- a/gstreamer-video/Gir.toml +++ b/gstreamer-video/Gir.toml @@ -202,6 +202,10 @@ status = "generate" name = "event_new_touch_frame" manual = true + [[object.function]] + name = "event_new_mouse_double_click" + manual = true + [[object.function]] name = "event_new_touch_cancel" manual = true @@ -649,6 +653,10 @@ status = "generate" name = "y412_le" version = "1.18" + [[object.member]] + name = "last" + ignore = true + [[object.function]] name = "to_string" # This has an Unknown field that may return NULL or "UNKNOWN"