Gir_GstVideo.toml 1.28 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
[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

external_libraries = [
    "GLib",
    "GObject",
    "Gst",
]

generate = [
    "GstVideo.VideoFormat",
    "GstVideo.VideoFormatFlags",
    "GstVideo.VideoTileMode",
    "GstVideo.VideoInterlaceMode",
    "GstVideo.VideoFlags",
    "GstVideo.VideoChromaSite",
24 25 26 27 28 29
    "GstVideo.VideoColorMatrix",
    "GstVideo.VideoTransferFunction",
    "GstVideo.VideoColorPrimaries",
    "GstVideo.VideoMultiviewMode",
    "GstVideo.VideoMultiviewFlags",
    "GstVideo.VideoFieldOrder",
30
    "GstVideo.VideoFrameFlags",
31 32 33 34 35 36 37 38
]

manual = [
    "GObject.Object",
    "Gst.Object",
    "GstVideo.VideoInfo",
    "GstVideo.VideoFormatInfo",
    "GstVideo.VideoColorimetry",
39
    "GstVideo.VideoColorRange",
40
    "GstVideo.VideoFrame",
41 42 43 44 45 46 47
]

[[object]]
name = "Gst.Caps"
status = "manual"
ref_mode = "ref"

48 49 50 51 52 53 54 55 56 57 58 59 60
[[object]]
name = "GstVideo.VideoOverlay"
status = "generate"

    [[object.function]]
    name = "set_render_rectangle"
        [object.function.return]
        bool_return_is_error = "Failed to set render rectangle"

    [[object.function]]
    name = "prepare_window_handle"
    # to be called by subclasses
    ignore = true