ges: BaseEffect is available since 1.2 even if all its functions are only since 1.18

There's a heuristic in the code generator to base the version on the
functions' versions if the type itself has none, simply because too many
libraries get this wrong. Let's override that here.
This commit is contained in:
Sebastian Dröge 2020-06-03 16:37:06 +03:00
parent d216757c23
commit 843fd923af

View file

@ -42,7 +42,6 @@ generate = [
"GES.Edge", "GES.Edge",
"GES.FrameNumber", "GES.FrameNumber",
"GES.TrackType", "GES.TrackType",
"GES.BaseEffect",
"GES.Group", "GES.Group",
"GES.UriClipAsset", "GES.UriClipAsset",
"GES.UriSourceAsset", "GES.UriSourceAsset",
@ -78,6 +77,12 @@ name = "Gst.ClockTime"
status = "manual" status = "manual"
conversion_type = "scalar" conversion_type = "scalar"
[[object]]
name = "GES.BaseEffect"
status = "generate"
# Actually available since 1.2 even if all functions are new in 1.18
version = "1.2"
[[object]] [[object]]
name = "GES.Effect" name = "GES.Effect"
status = "generate" status = "generate"