mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-12-23 00:26:31 +00:00
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:
parent
932b8f813d
commit
c58f2b09d2
1 changed files with 28 additions and 0 deletions
|
@ -30,3 +30,31 @@ gstreamer-video="GstVideo"
|
||||||
#[[object]]
|
#[[object]]
|
||||||
#name = "GstGL.GL_COLOR_CONVERT_VIDEO_CAPS"
|
#name = "GstGL.GL_COLOR_CONVERT_VIDEO_CAPS"
|
||||||
#status = "manual"
|
#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"
|
||||||
|
|
Loading…
Reference in a new issue