Gir_GstBase.toml 2.04 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 24 25 26 27 28 29 30 31 32
[options]
girs_dir = "gir-files"
library = "GstBase"
version = "1.0"
min_cfg_version = "1.8"
target_path = "gstreamer-base"
work_mode = "normal"
concurrency = "send+sync"
generate_safety_asserts = true

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

generate = [
    "GstBase.BaseSink",
    "GstBase.BaseTransform",
    "GstBase.PushSrc",
]

manual = [
    "GObject.Object",
    "GLib.Bytes",
    "Gst.Object",
    "Gst.Element",
    "Gst.ClockTimeDiff",
    "Gst.ClockReturn",
    "Gst.FlowReturn",
    "Gst.Format",
    "Gst.Pad",
33
    "Gst.TypeFindProbability",
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
]

[[object]]
name = "GstBase.Adapter"
status = "generate"
trait = false
concurrency = "none"

    [[object.function]]
    name = "map"
    # Unsafe
    ignore = true

    [[object.function]]
    name = "unmap"
    # Unsafe
    ignore = true

    [[object.function]]
    name = "copy"
    # Unsafe
    ignore = true

    [[object.function]]
    name = "push"
    # Move Buffer
    ignore = true

    [[object.function]]
    name = "take"
    # Useless copying of data
    ignore = true

[[object]]
name = "GstBase.FlowCombiner"
69
# Manual because ref/unref functions were added much later
70
status = "manual"
71 72 73
trait = false
concurrency = "none"

Sebastian Dröge's avatar
Sebastian Dröge committed
74 75 76 77 78 79 80 81 82
[[object]]
name = "GstBase.BaseSrc"
status = "generate"

    [[object.function]]
    name = "submit_buffer_list"
    # Pass by value, to be added manually
    ignore = true

83 84 85
[[object]]
name = "GstBase.*"
status = "generate"
86 87 88 89
    # We'll opt-in for constants at a later time
    [[object.constant]]
    pattern = ".+"
    ignore = true
90 91 92 93 94 95

    [[object.function]]
    name = "type_find_helper_for_data"
    # broken data type
    ignore = true

96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
[[object]]
name = "Gst.Structure"
status = "manual"
ref_mode = "ref-mut"

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

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

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

[[object]]
name = "Gst.Sample"
status = "manual"
ref_mode = "ref"
120 121 122 123 124

[[object]]
name = "Gst.ClockTime"
status = "manual"
conversion_type = "scalar"