Gir_GstBase.toml 3.13 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
generate_display_trait = false
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27

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

generate = [
    "GstBase.PushSrc",
]

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

[[object]]
name = "GstBase.Adapter"
status = "generate"
40
final_type = true
41
concurrency = "send-unique"
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 69

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

Sebastian Dröge's avatar
Sebastian Dröge committed
75 76 77 78 79
[[object]]
name = "GstBase.BaseSink"
subclassing = true
status = "generate"

80 81 82 83 84 85 86 87 88 89
    [[object.function]]
    name = "wait"
    # Use Result<FlowSuccess, FlowError>
    ignore = true

    [[object.function]]
    name = "wait_preroll"
    # Use Result<FlowSuccess, FlowError>
    ignore = true

Sebastian Dröge's avatar
Sebastian Dröge committed
90 91
[[object]]
name = "GstBase.BaseSrc"
Sebastian Dröge's avatar
Sebastian Dröge committed
92
subclassing = true
Sebastian Dröge's avatar
Sebastian Dröge committed
93 94
status = "generate"

95 96 97 98 99 100 101 102 103 104
    [[object.function]]
    name = "start_complete"
    # Use Result<FlowSuccess, FlowError>
    ignore = true

    [[object.function]]
    name = "start_wait"
    # Use Result<FlowSuccess, FlowError>
    ignore = true

Sebastian Dröge's avatar
Sebastian Dröge committed
105 106 107 108 109
    [[object.function]]
    name = "submit_buffer_list"
    # Pass by value, to be added manually
    ignore = true

110 111 112 113 114
    [[object.function]]
    name = "wait_playing"
    # Use Result<FlowSuccess, FlowError>
    ignore = true

115 116 117 118 119
[[object]]
name = "GstBase.BaseTransform"
subclassing = true
status = "generate"

120 121 122
[[object]]
name = "GstBase.Aggregator"
status = "generate"
Sebastian Dröge's avatar
Sebastian Dröge committed
123
subclassing = true
124
version = "1.14"
125 126 127 128 129 130

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

131 132 133 134 135 136 137
    [[object.property]]
    name = "latency"
    version = "1.14"

[[object]]
name = "GstBase.AggregatorPad"
status = "generate"
138
subclassing = true
139 140
version = "1.14"

141 142 143
[[object]]
name = "GstBase.*"
status = "generate"
144 145 146 147
    # We'll opt-in for constants at a later time
    [[object.constant]]
    pattern = ".+"
    ignore = true
148 149 150 151 152 153

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

154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177
[[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"
178 179 180 181 182

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