video/gir: Document manually implemented types and functions

This commit is contained in:
Marijn Suijten 2021-05-30 17:42:01 +02:00 committed by Sebastian Dröge
parent 5ebf6de6eb
commit 800ad5fc4a

View file

@ -58,13 +58,13 @@ manual = [
"Gst.TagMergeMode", "Gst.TagMergeMode",
"GstBase.BaseSink", "GstBase.BaseSink",
"GstBase.BaseTransform", "GstBase.BaseTransform",
"GstVideo.VideoCodecState",
"GstVideo.VideoCodecFrame", "GstVideo.VideoCodecFrame",
"GstVideo.VideoInfo", "GstVideo.VideoCodecState",
"GstVideo.VideoFormatInfo",
"GstVideo.VideoColorimetry",
"GstVideo.VideoColorRange", "GstVideo.VideoColorRange",
"GstVideo.VideoFrame", "GstVideo.VideoColorimetry",
"GstVideo.VideoFormatInfo",
"GstVideo.VideoInfo",
"GstVideo.VideoMeta",
"GstVideo.VideoTimeCode", "GstVideo.VideoTimeCode",
"GstVideo.VideoTimeCodeInterval", "GstVideo.VideoTimeCodeInterval",
] ]
@ -79,6 +79,15 @@ name = "Gst.Caps"
status = "manual" status = "manual"
ref_mode = "ref" ref_mode = "ref"
[[object]]
name = "GstVideo.VideoFrame"
status = "manual"
[[object.function]]
name = "map"
# Readable and writable variant dealing with mutability
rename = "from_buffer_readable"
[[object]] [[object]]
name = "GstVideo.VideoOrientation" name = "GstVideo.VideoOrientation"
status = "generate" status = "generate"
@ -104,6 +113,16 @@ name = "GstVideo.VideoOverlay"
status = "generate" status = "generate"
manual_traits = ["VideoOverlayExtManual"] manual_traits = ["VideoOverlayExtManual"]
[[object.function]]
name = "set_property"
# Only for implementors of GstVideoOverlay
ignore = true
[[object.function]]
name = "set_window_handle"
# Pointer argument
manual = true
[[object.function]] [[object.function]]
name = "set_render_rectangle" name = "set_render_rectangle"
[object.function.return] [object.function.return]