Gir_GstApp.toml 2.37 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 12 13 14

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

generate = [
    "GstApp.AppStreamType",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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