diff --git a/gstreamer/Gir.toml b/gstreamer/Gir.toml index b764bd170..cba58294d 100644 --- a/gstreamer/Gir.toml +++ b/gstreamer/Gir.toml @@ -23,11 +23,9 @@ generate = [ "Gst.CoreError", "Gst.DebugColorFlags", "Gst.DebugGraphDetails", - "Gst.DebugLevel", "Gst.EventTypeFlags", "Gst.LibraryError", "Gst.PadDirection", - "Gst.PadMode", "Gst.PadPresence", "Gst.PadProbeReturn", "Gst.ParseError", @@ -244,6 +242,10 @@ status = "generate" [[object.derive]] name = "Debug, PartialEq, Eq, PartialOrd, Ord, Hash" [[object.function]] + name = "get_name" + # consumes `self` so not considered as a getter by gir + rename = "name" + [[object.function]] name = "register" # Needs manual work ignore = true @@ -355,6 +357,14 @@ status = "generate" [[object.member]] name = "instant_rate_sync_time" version = "1.18" + [[object.function]] + name = "get_flags" + # consumes `self` so not considered as a getter by gir + rename = "flags" + [[object.function]] + name = "get_name" + # consumes `self` so not considered as a getter by gir + rename = "name" [[object]] name = "Gst.Structure" @@ -716,6 +726,14 @@ name = "Gst.TypeFindFactory" status = "generate" final_type = true +[[object]] +name = "Gst.DebugLevel" +status = "generate" + [[object.function]] + name = "get_name" + # consumes `self` so not considered as a getter by gir + rename = "name" + [[object]] name = "Gst.DeviceProviderFactory" status = "generate" @@ -1057,6 +1075,14 @@ manual_traits = ["PadExtManual"] # Has a proper getter ignore = true +[[object]] +name = "Gst.PadMode" +status = "generate" + [[object.function]] + name = "get_name" + # consumes `self` so not considered as a getter by gir + rename = "name" + [[object]] name = "Gst.PadTemplate" status = "generate" @@ -1646,6 +1672,8 @@ name = "Gst.StateChange" status = "generate" [[object.function]] name = "get_name" + # consumes `self` so not considered as a getter by gir + rename = "name" # Manual function for < v1_14: manual = true # Always generate the trait, without version constraint: