Gir_GstApp.toml 2.34 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
[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

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

generate = [
    "GstApp.AppStreamType",
]

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

33 34 35 36 37
[[object]]
name = "GstApp.AppSink"
status = "generate"
trait = false

38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
    [[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

58 59 60 61 62 63
    [[object.function]]
    name = "set_caps"
        [[object.function.parameter]]
            name = "caps"
            nullable = true

64 65 66 67 68
[[object]]
name = "GstApp.AppSrc"
status = "generate"
trait = false

69 70 71 72 73
    [[object.function]]
    name = "push_buffer"
    # Pass by value
    ignore = true

Sebastian Dröge's avatar
Sebastian Dröge committed
74 75 76 77 78
    [[object.function]]
    name = "push_buffer_list"
    # Pass by value
    ignore = true

79 80 81 82 83 84 85 86 87 88
    [[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
89 90 91 92 93
    [[object.signal]]
    name = "push-buffer-list"
    # Action signal
    ignore = true

94 95 96 97 98
    [[object.signal]]
    name = "push-sample"
    # Action signal
    ignore = true

99 100 101 102 103 104 105 106 107 108
    [[object.function]]
    name = "set_latency"
    # ClockTime
    ignore = true

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

109 110 111 112 113 114
    [[object.function]]
    name = "set_caps"
        [[object.function.parameter]]
            name = "caps"
            nullable = true

115 116 117 118 119
[[object]]
name = "Gst.Structure"
status = "manual"
ref_mode = "ref-mut"

120 121 122 123 124 125 126 127 128 129
[[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
130 131 132 133 134
[[object]]
name = "Gst.BufferList"
status = "manual"
ref_mode = "ref"

135 136 137 138
[[object]]
name = "Gst.Sample"
status = "manual"
ref_mode = "ref"
139 140 141 142 143

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