gstreamer-rs/gstreamer-app/Gir.toml
Sebastian Dröge 06e0555555 app: Don't statically declare that appsrc/appsink inherit from basesrc/basesink
Otherwise the API of the base classes will be directly available and can
cause confusion (e.g. gst_base_src_set_format() vs. the "format"
property).

All base class API should be considered "protected" from an application
point of view and only be called by the subclass itself.

See https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/872
2021-02-22 20:03:30 +02:00

175 lines
3.1 KiB
TOML

[options]
girs_dir = "../gir-files"
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"