forked from mirrors/gstreamer-rs
gl/framebuffer: Mark autogenerated fn attach() to unsafe
`attachment_point` is said to not be validated, or [existing validation]
is inadequate.
[existing validation]: 57a23786f3/gst-libs/gst/gl/gstglframebuffer.c (L456)
This commit is contained in:
parent
4eddd377e1
commit
39f8eb98ee
1 changed files with 9 additions and 1 deletions
|
@ -33,7 +33,6 @@ generate = [
|
||||||
#"GstGL.GLRenderbufferAllocationParams",
|
#"GstGL.GLRenderbufferAllocationParams",
|
||||||
# Objects
|
# Objects
|
||||||
#"GstGL.GLBufferPool",
|
#"GstGL.GLBufferPool",
|
||||||
"GstGL.GLFramebuffer",
|
|
||||||
"GstGL.GLBaseMemoryAllocator",
|
"GstGL.GLBaseMemoryAllocator",
|
||||||
"GstGL.GLMemoryAllocator",
|
"GstGL.GLMemoryAllocator",
|
||||||
#"GstGL.GLMemoryPBOAllocator",
|
#"GstGL.GLMemoryPBOAllocator",
|
||||||
|
@ -498,3 +497,12 @@ status = "generate"
|
||||||
[[object.function.parameter]]
|
[[object.function.parameter]]
|
||||||
name = "src_vid"
|
name = "src_vid"
|
||||||
const = true
|
const = true
|
||||||
|
|
||||||
|
[[object]]
|
||||||
|
name = "GstGL.GLFramebuffer"
|
||||||
|
status = "generate"
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "attach"
|
||||||
|
# attachment_point parameter unchecked
|
||||||
|
unsafe = true
|
||||||
|
|
Loading…
Reference in a new issue