mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-10 19:41:04 +00:00
7f9fcb09e2
We were already using `gir -d` and especially now that our files are separated across two directories that are relative to the directory containing Gir.toml this only becomes cumbersome. Besides `gir` lacks functionality to normalize the path, leading to ie. gstreamer-gl/egl/sys/../../../gir-files in the version comment as a result.
174 lines
3.1 KiB
TOML
174 lines
3.1 KiB
TOML
[options]
|
|
library = "GstApp"
|
|
version = "1.0"
|
|
min_cfg_version = "1.8"
|
|
work_mode = "normal"
|
|
concurrency = "send+sync"
|
|
generate_safety_asserts = true
|
|
single_version_file = true
|
|
generate_display_trait = false
|
|
|
|
external_libraries = [
|
|
"GLib",
|
|
"GObject",
|
|
"Gst",
|
|
]
|
|
|
|
generate = [
|
|
"GstApp.AppStreamType",
|
|
]
|
|
|
|
manual = [
|
|
"GObject.Object",
|
|
"Gst.Object",
|
|
"Gst.Element",
|
|
"Gst.URIHandler",
|
|
"Gst.FlowReturn",
|
|
"Gst.Format",
|
|
]
|
|
|
|
[[object]]
|
|
name = "GstApp.AppSink"
|
|
status = "generate"
|
|
final_type = true
|
|
|
|
[[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
|
|
|
|
[[object.signal]]
|
|
name = "new-sample"
|
|
# Use Result<FlowSuccess, FlowError>
|
|
manual = true
|
|
|
|
[[object.signal]]
|
|
name = "new-preroll"
|
|
# Use Result<FlowSuccess, FlowError>
|
|
manual = true
|
|
|
|
[[object.signal]]
|
|
name = "eos"
|
|
concurrency = "send"
|
|
|
|
[[object.function]]
|
|
name = "set_caps"
|
|
[[object.function.parameter]]
|
|
name = "caps"
|
|
nullable = true
|
|
|
|
[[object.function]]
|
|
name = "pull_preroll"
|
|
[object.function.return]
|
|
nullable_return_is_error = "Failed to pull preroll sample"
|
|
|
|
[[object.function]]
|
|
name = "pull_sample"
|
|
[object.function.return]
|
|
nullable_return_is_error = "Failed to pull sample"
|
|
|
|
[[object]]
|
|
name = "GstApp.AppSrc"
|
|
status = "generate"
|
|
final_type = true
|
|
|
|
[[object.function]]
|
|
name = "push_buffer"
|
|
# Pass by value
|
|
manual = true
|
|
|
|
[[object.function]]
|
|
name = "push_buffer_list"
|
|
# Pass by value
|
|
manual = true
|
|
|
|
[[object.signal]]
|
|
name = "end-of-stream"
|
|
# Action signal
|
|
ignore = true
|
|
|
|
[[object.signal]]
|
|
name = "push-buffer"
|
|
# Action signal
|
|
ignore = true
|
|
|
|
[[object.signal]]
|
|
name = "push-buffer-list"
|
|
# Action signal
|
|
ignore = true
|
|
|
|
[[object.signal]]
|
|
name = "push-sample"
|
|
# Action signal
|
|
ignore = true
|
|
|
|
[[object.function]]
|
|
name = "end_of_stream"
|
|
# Use Result<FlowSuccess, FlowError>
|
|
manual = true
|
|
|
|
[[object.function]]
|
|
name = "push_sample"
|
|
# Use Result<FlowSuccess, FlowError>
|
|
manual = true
|
|
|
|
[[object.function]]
|
|
name = "set_latency"
|
|
# ClockTime
|
|
manual = true
|
|
|
|
[[object.function]]
|
|
name = "get_latency"
|
|
# ClockTime
|
|
manual = true
|
|
|
|
[[object.function]]
|
|
name = "set_caps"
|
|
[[object.function.parameter]]
|
|
name = "caps"
|
|
nullable = true
|
|
|
|
[[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"
|
|
|
|
[[object]]
|
|
name = "Gst.ClockTime"
|
|
status = "manual"
|
|
conversion_type = "scalar"
|