mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-15 22:11:01 +00:00
a753c65d33
There's a VideoTimeCode type that represents any kind of timecodes, including invalid ones, and which allows to change each field individually. And ValidVideoTimeCode that has all fields validated and that can be used with most of the API. In C, validation of the timecodes is left to the user and most functions assert on getting passed valid timecodes.
67 lines
1.5 KiB
TOML
67 lines
1.5 KiB
TOML
[options]
|
|
girs_dir = "gir-files"
|
|
library = "GstVideo"
|
|
version = "1.0"
|
|
min_cfg_version = "1.8"
|
|
target_path = "gstreamer-video"
|
|
work_mode = "normal"
|
|
concurrency = "send+sync"
|
|
generate_safety_asserts = true
|
|
single_version_file = true
|
|
generate_display_trait = false
|
|
|
|
external_libraries = [
|
|
"GLib",
|
|
"GObject",
|
|
"Gst",
|
|
"GstBase",
|
|
]
|
|
|
|
generate = [
|
|
"GstVideo.VideoFormat",
|
|
"GstVideo.VideoFormatFlags",
|
|
"GstVideo.VideoTileMode",
|
|
"GstVideo.VideoInterlaceMode",
|
|
"GstVideo.VideoFlags",
|
|
"GstVideo.VideoChromaSite",
|
|
"GstVideo.VideoColorMatrix",
|
|
"GstVideo.VideoTransferFunction",
|
|
"GstVideo.VideoColorPrimaries",
|
|
"GstVideo.VideoMultiviewMode",
|
|
"GstVideo.VideoMultiviewFlags",
|
|
"GstVideo.VideoFieldOrder",
|
|
"GstVideo.VideoFrameFlags",
|
|
"GstVideo.VideoMultiviewFramePacking",
|
|
"GstVideo.VideoFilter",
|
|
"GstVideo.VideoOverlayFormatFlags",
|
|
"GstVideo.VideoTimeCodeFlags",
|
|
]
|
|
|
|
manual = [
|
|
"GLib.DateTime",
|
|
"GObject.Object",
|
|
"Gst.Object",
|
|
"Gst.Element",
|
|
"GstBase.BaseTransform",
|
|
"GstVideo.VideoInfo",
|
|
"GstVideo.VideoFormatInfo",
|
|
"GstVideo.VideoColorimetry",
|
|
"GstVideo.VideoColorRange",
|
|
"GstVideo.VideoFrame",
|
|
"GstVideo.VideoTimeCode",
|
|
"GstVideo.VideoTimeCodeInterval",
|
|
]
|
|
|
|
[[object]]
|
|
name = "Gst.Caps"
|
|
status = "manual"
|
|
ref_mode = "ref"
|
|
|
|
[[object]]
|
|
name = "GstVideo.VideoOverlay"
|
|
status = "generate"
|
|
|
|
[[object.function]]
|
|
name = "set_render_rectangle"
|
|
[object.function.return]
|
|
bool_return_is_error = "Failed to set render rectangle"
|