gl/sys/gir: New buffer/memory get_type functions are only in 1.20

G-IR cannot read or represent `Since:` annotations on get_type()-like
functions, despite these being available in the source. This adds the
type requirements manually following its implementation in [1],
considering it will not be backported to 1.18.x [2]. If `get_type` is
used in manual bindings after 1.20 releases this version requirement is
easily caught.

[1]: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/999
[2]: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1010
This commit is contained in:
Marijn Suijten 2021-01-15 00:29:11 +01:00
parent 932b8f813d
commit c58f2b09d2

View file

@ -30,3 +30,31 @@ gstreamer-video="GstVideo"
#[[object]]
#name = "GstGL.GL_COLOR_CONVERT_VIDEO_CAPS"
#status = "manual"
[[object]]
name = "GstGL.GLBuffer"
status = "generate"
[[object.function]]
name = "get_type"
version = "1.20"
[[object]]
name = "GstGL.GLMemory"
status = "generate"
[[object.function]]
name = "get_type"
version = "1.20"
[[object]]
name = "GstGL.GLMemoryPBO"
status = "generate"
[[object.function]]
name = "get_type"
version = "1.20"
[[object]]
name = "GstGL.GLRenderbuffer"
status = "generate"
[[object.function]]
name = "get_type"
version = "1.20"