Gir_GstApp.toml 2.89 KB
Newer Older
1 2 3 4 5 6 7 8 9
[options]
girs_dir = "gir-files"
library = "GstApp"
version = "1.0"
min_cfg_version = "1.8"
target_path = "gstreamer-app"
work_mode = "normal"
concurrency = "send+sync"
generate_safety_asserts = true
10
single_version_file = true
11
generate_display_trait = false
12 13 14 15

external_libraries = [
    "GLib",
    "GObject",
16
    "Gst",
17
    "GstBase",
18 19 20 21 22 23 24 25
]

generate = [
    "GstApp.AppStreamType",
]

manual = [
    "GObject.Object",
26 27
    "Gst.Object",
    "Gst.Element",
28
    "Gst.URIHandler",
29 30
    "Gst.FlowReturn",
    "Gst.Format",
31 32
    "GstBase.BaseSrc",
    "GstBase.BaseSink",
33 34
]

35 36 37
[[object]]
name = "GstApp.AppSink"
status = "generate"
38
final_type = true
39

40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
    [[object.signal]]
    name = "pull-sample"
    # Action signal
    ignore = true

    [[object.signal]]
    name = "pull-preroll"
    # Action signal
    ignore = true

    [[object.signal]]
    name = "try-pull-sample"
    # Action signal
    ignore = true

    [[object.signal]]
    name = "try-pull-preroll"
    # Action signal
    ignore = true

60 61 62 63 64 65 66 67 68 69
    [[object.signal]]
    name = "new-sample"
    # Use Result<FlowSuccess, FlowError>
    ignore = true

    [[object.signal]]
    name = "new-preroll"
    # Use Result<FlowSuccess, FlowError>
    ignore = true

70 71 72 73
    [[object.signal]]
    name = "eos"
    concurrency = "send"

74 75 76 77 78 79
    [[object.function]]
    name = "set_caps"
        [[object.function.parameter]]
            name = "caps"
            nullable = true

80 81 82
[[object]]
name = "GstApp.AppSrc"
status = "generate"
83
final_type = true
84

Sebastian Dröge's avatar
Sebastian Dröge committed
85 86 87 88 89
    [[object.function]]
    name = "push_buffer"
    # Pass by value
    ignore = true

Sebastian Dröge's avatar
Sebastian Dröge committed
90 91 92 93 94
    [[object.function]]
    name = "push_buffer_list"
    # Pass by value
    ignore = true

Sebastian Dröge's avatar
Sebastian Dröge committed
95 96 97 98 99 100 101 102 103 104
    [[object.signal]]
    name = "end-of-stream"
    # Action signal
    ignore = true

    [[object.signal]]
    name = "push-buffer"
    # Action signal
    ignore = true

Sebastian Dröge's avatar
Sebastian Dröge committed
105 106 107 108 109
    [[object.signal]]
    name = "push-buffer-list"
    # Action signal
    ignore = true

Sebastian Dröge's avatar
Sebastian Dröge committed
110 111 112 113 114
    [[object.signal]]
    name = "push-sample"
    # Action signal
    ignore = true

115 116 117 118 119 120 121 122 123 124
    [[object.function]]
    name = "end_of_stream"
    # Use Result<FlowSuccess, FlowError>
    ignore = true

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

125 126 127 128 129 130 131 132 133 134
    [[object.function]]
    name = "set_latency"
    # ClockTime
    ignore = true

    [[object.function]]
    name = "get_latency"
    # ClockTime
    ignore = true

135 136 137 138 139 140
    [[object.function]]
    name = "set_caps"
        [[object.function.parameter]]
            name = "caps"
            nullable = true

141 142 143 144 145
[[object]]
name = "Gst.Structure"
status = "manual"
ref_mode = "ref-mut"

146 147 148 149 150 151 152 153 154 155
[[object]]
name = "Gst.Caps"
status = "manual"
ref_mode = "ref"

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

Sebastian Dröge's avatar
Sebastian Dröge committed
156 157 158 159 160
[[object]]
name = "Gst.BufferList"
status = "manual"
ref_mode = "ref"

161 162 163 164
[[object]]
name = "Gst.Sample"
status = "manual"
ref_mode = "ref"
165 166 167 168 169

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