Gir_GstBase.toml 2.4 KB
Newer Older
1 2 3 4 5 6 7 8 9
[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
10
single_version_file = true
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28

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

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

manual = [
    "GObject.Object",
    "GLib.Bytes",
    "Gst.Object",
    "Gst.Element",
29
    "Gst.BufferPool",
30 31 32 33 34
    "Gst.ClockTimeDiff",
    "Gst.ClockReturn",
    "Gst.FlowReturn",
    "Gst.Format",
    "Gst.Pad",
35
    "Gst.TypeFindProbability",
36 37 38 39 40 41
]

[[object]]
name = "GstBase.Adapter"
status = "generate"
trait = false
42
concurrency = "send-unique"
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 69 70

    [[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"
71
# Manual because ref/unref functions were added much later
72
status = "manual"
73 74 75
trait = false
concurrency = "none"

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

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

85 86 87
[[object]]
name = "GstBase.Aggregator"
status = "generate"
88
version = "1.14"
89 90 91 92 93 94

    [[object.function]]
    name = "finish_buffer"
    # Takes ownership
    ignore = true

95 96 97 98 99 100 101 102 103
    [[object.property]]
    name = "latency"
    version = "1.14"

[[object]]
name = "GstBase.AggregatorPad"
status = "generate"
version = "1.14"

104 105 106
[[object]]
name = "GstBase.*"
status = "generate"
107 108 109 110
    # We'll opt-in for constants at a later time
    [[object.constant]]
    pattern = ".+"
    ignore = true
111 112 113 114 115 116

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

117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140
[[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"
141 142 143 144 145

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