2017-09-09 13:54:02 +00:00
|
|
|
[options]
|
2021-04-12 09:42:41 +00:00
|
|
|
girs_directories = ["../gir-files", "../gst-gir-files"]
|
2017-09-09 13:54:02 +00:00
|
|
|
library = "GstBase"
|
|
|
|
version = "1.0"
|
2022-04-07 08:22:39 +00:00
|
|
|
min_cfg_version = "1.14"
|
2017-09-09 13:54:02 +00:00
|
|
|
work_mode = "normal"
|
|
|
|
concurrency = "send+sync"
|
|
|
|
generate_safety_asserts = true
|
2018-04-23 17:34:22 +00:00
|
|
|
single_version_file = true
|
2018-12-08 09:05:20 +00:00
|
|
|
generate_display_trait = false
|
2020-12-01 18:59:24 +00:00
|
|
|
trust_return_value_nullability = true
|
2017-09-09 13:54:02 +00:00
|
|
|
|
|
|
|
external_libraries = [
|
|
|
|
"GLib",
|
|
|
|
"GObject",
|
|
|
|
"Gst",
|
|
|
|
]
|
|
|
|
|
|
|
|
generate = [
|
2020-07-06 08:30:12 +00:00
|
|
|
"GstBase.AggregatorStartTimeSelection",
|
2021-12-03 16:14:55 +00:00
|
|
|
"GstBase.PushSrc",
|
2017-09-09 13:54:02 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
manual = [
|
|
|
|
"GLib.Bytes",
|
2021-05-30 15:37:25 +00:00
|
|
|
"GObject.Object",
|
|
|
|
"Gst.AllocationParams",
|
|
|
|
"Gst.Allocator",
|
|
|
|
"Gst.BufferFlags",
|
2018-07-30 08:54:06 +00:00
|
|
|
"Gst.BufferPool",
|
2017-09-09 13:54:02 +00:00
|
|
|
"Gst.ClockTimeDiff",
|
2021-05-30 15:37:25 +00:00
|
|
|
"Gst.Element",
|
|
|
|
"Gst.EventType",
|
2017-09-09 13:54:02 +00:00
|
|
|
"Gst.Format",
|
2021-05-30 15:37:25 +00:00
|
|
|
"Gst.Memory",
|
|
|
|
"Gst.Object",
|
2017-09-09 13:54:02 +00:00
|
|
|
"Gst.Pad",
|
2021-05-30 15:37:25 +00:00
|
|
|
"Gst.Segment",
|
|
|
|
"Gst.State",
|
|
|
|
"Gst.StateChangeReturn",
|
2019-05-25 19:29:04 +00:00
|
|
|
"Gst.TagMergeMode",
|
2021-05-30 15:37:25 +00:00
|
|
|
"Gst.TypeFindProbability",
|
2019-05-25 19:29:04 +00:00
|
|
|
"GstBase.BaseParseFrame",
|
2017-09-09 13:54:02 +00:00
|
|
|
]
|
|
|
|
|
2021-12-03 16:14:55 +00:00
|
|
|
[[object]]
|
|
|
|
name = "Gst.Buffer"
|
|
|
|
status = "manual"
|
|
|
|
ref_mode = "ref"
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "Gst.BufferList"
|
|
|
|
status = "manual"
|
|
|
|
ref_mode = "ref"
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "Gst.Caps"
|
|
|
|
status = "manual"
|
|
|
|
ref_mode = "ref"
|
|
|
|
|
2021-04-07 17:06:36 +00:00
|
|
|
[[object]]
|
|
|
|
name = "Gst.ClockReturn"
|
|
|
|
status = "manual"
|
|
|
|
must_use = true
|
|
|
|
[object.conversion_type]
|
|
|
|
variant = "Result"
|
|
|
|
ok_type = "gst::ClockSuccess"
|
|
|
|
err_type = "gst::ClockError"
|
|
|
|
|
2021-12-03 16:14:55 +00:00
|
|
|
[[object]]
|
|
|
|
name = "Gst.ClockTime"
|
|
|
|
status = "manual"
|
|
|
|
conversion_type = "Option"
|
|
|
|
|
2021-04-07 17:06:36 +00:00
|
|
|
[[object]]
|
|
|
|
name = "Gst.FlowReturn"
|
|
|
|
status = "manual"
|
|
|
|
must_use = true
|
|
|
|
[object.conversion_type]
|
|
|
|
variant = "Result"
|
|
|
|
ok_type = "gst::FlowSuccess"
|
|
|
|
err_type = "gst::FlowError"
|
|
|
|
|
2021-12-03 16:14:55 +00:00
|
|
|
[[object]]
|
|
|
|
name = "Gst.Sample"
|
|
|
|
status = "manual"
|
|
|
|
ref_mode = "ref"
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "Gst.Structure"
|
|
|
|
status = "manual"
|
|
|
|
ref_mode = "ref"
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "Gst.TagList"
|
|
|
|
status = "manual"
|
|
|
|
ref_mode = "ref"
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "GstBase.*"
|
|
|
|
status = "generate"
|
|
|
|
# We'll opt-in for constants at a later time
|
|
|
|
[[object.constant]]
|
|
|
|
pattern = ".+"
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "type_find_helper_for_data"
|
|
|
|
# broken return value
|
2022-11-21 10:39:54 +00:00
|
|
|
manual = true
|
2021-12-03 16:14:55 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "type_find_helper_for_data_with_extension"
|
|
|
|
# broken return value
|
2022-11-21 10:39:54 +00:00
|
|
|
manual = true
|
2021-12-03 16:14:55 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "type_find_helper_for_buffer"
|
|
|
|
# broken return value
|
2022-11-21 10:39:54 +00:00
|
|
|
manual = true
|
2021-12-03 16:14:55 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "type_find_helper_for_buffer_with_extension"
|
|
|
|
# broken return value
|
2022-11-21 10:39:54 +00:00
|
|
|
manual = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "type_find_helper_for_buffer_with_caps"
|
|
|
|
# broken return value
|
|
|
|
manual = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "type_find_helper_for_data_with_caps"
|
|
|
|
# broken return value
|
|
|
|
manual = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "type_find_list_factories_for_caps"
|
|
|
|
# broken return value
|
|
|
|
manual = true
|
2021-12-03 16:14:55 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "type_find_helper"
|
|
|
|
[object.function.return]
|
|
|
|
nullable_return_is_error = "Could not find type"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "type_find_helper_for_extension"
|
|
|
|
[object.function.return]
|
|
|
|
nullable_return_is_error = "Could not find type"
|
|
|
|
|
2017-09-09 13:54:02 +00:00
|
|
|
[[object]]
|
|
|
|
name = "GstBase.Adapter"
|
|
|
|
status = "generate"
|
2019-01-21 20:00:48 +00:00
|
|
|
final_type = true
|
2022-04-09 08:36:39 +00:00
|
|
|
concurrency = "none"
|
2017-09-09 13:54:02 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "map"
|
2021-05-30 15:41:40 +00:00
|
|
|
# Unsafe, implemented on `UniqueAdapter`
|
2017-09-09 13:54:02 +00:00
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "unmap"
|
|
|
|
# Unsafe
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
2020-12-06 17:39:28 +00:00
|
|
|
pattern = "copy.*"
|
2017-09-09 13:54:02 +00:00
|
|
|
# Unsafe
|
2020-11-04 17:35:36 +00:00
|
|
|
manual = true
|
2017-09-09 13:54:02 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "push"
|
|
|
|
# Move Buffer
|
2020-11-04 17:35:36 +00:00
|
|
|
manual = true
|
2017-09-09 13:54:02 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
2020-12-06 17:39:28 +00:00
|
|
|
pattern = "take.*"
|
|
|
|
# Unsafe
|
2017-09-09 13:54:02 +00:00
|
|
|
ignore = true
|
|
|
|
|
2019-12-17 19:00:42 +00:00
|
|
|
[[object.function]]
|
2020-12-06 17:39:28 +00:00
|
|
|
pattern = "get.*"
|
|
|
|
# Unsafe
|
|
|
|
ignore = true
|
2019-12-17 19:00:42 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
2020-12-06 17:39:28 +00:00
|
|
|
pattern = "masked.*"
|
|
|
|
# Unsafe
|
|
|
|
ignore = true
|
2019-12-17 19:00:42 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
2020-12-06 17:39:28 +00:00
|
|
|
name = "flush"
|
|
|
|
# Unsafe Buffer
|
|
|
|
manual = true
|
2019-12-17 19:00:42 +00:00
|
|
|
|
2017-09-09 13:54:02 +00:00
|
|
|
[[object]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "GstBase.Aggregator"
|
|
|
|
status = "generate"
|
|
|
|
manual_traits = ["AggregatorExtManual"]
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "update_segment"
|
|
|
|
# Takes FormattedValue as argument
|
|
|
|
manual = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_allocator"
|
|
|
|
manual = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "selected_samples"
|
|
|
|
# Info parameter
|
|
|
|
manual = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_latency"
|
|
|
|
[[object.function.parameter]]
|
|
|
|
name = "min_latency"
|
|
|
|
mandatory = true
|
|
|
|
|
|
|
|
[[object.property]]
|
|
|
|
name = "start-time-selection"
|
|
|
|
version = "1.18"
|
|
|
|
|
|
|
|
[[object.property]]
|
|
|
|
name = "min-upstream-latency"
|
|
|
|
# clock time instead of u64
|
|
|
|
manual = true
|
|
|
|
|
|
|
|
[[object.signal]]
|
|
|
|
name = "samples-selected"
|
|
|
|
# StructureRef instead of Structure
|
|
|
|
manual = true
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "GstBase.AggregatorPad"
|
|
|
|
status = "generate"
|
|
|
|
manual_traits = ["AggregatorPadExtManual"]
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "GstBase.BaseParse"
|
|
|
|
status = "generate"
|
|
|
|
manual_traits = ["BaseParseExtManual"]
|
|
|
|
[[object.function]]
|
|
|
|
name = "add_index_entry"
|
|
|
|
[[object.function.parameter]]
|
|
|
|
name = "ts"
|
|
|
|
mandatory = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "finish_frame"
|
|
|
|
manual = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_duration"
|
|
|
|
manual = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_latency"
|
|
|
|
[[object.function.parameter]]
|
|
|
|
name = "min_latency"
|
|
|
|
mandatory = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "convert_default"
|
|
|
|
manual = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_frame_rate"
|
|
|
|
manual = true
|
|
|
|
|
|
|
|
# Didn't bind gst_base_parse_frame_{new,init} so not needed
|
|
|
|
[[object.function]]
|
|
|
|
name = "push_frame"
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "GstBase.BaseParseFrameFlags"
|
|
|
|
status = "generate"
|
|
|
|
[[object.member]]
|
|
|
|
name = "none"
|
|
|
|
ignore = true
|
2017-09-09 13:54:02 +00:00
|
|
|
|
2018-11-20 21:23:31 +00:00
|
|
|
[[object]]
|
|
|
|
name = "GstBase.BaseSink"
|
|
|
|
status = "generate"
|
2020-02-25 13:06:44 +00:00
|
|
|
manual_traits = ["BaseSinkExtManual"]
|
2018-11-20 21:23:31 +00:00
|
|
|
|
2021-04-04 14:17:35 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "get_latency"
|
|
|
|
[object.function.return]
|
|
|
|
mandatory = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_processing_deadline"
|
|
|
|
[object.function.return]
|
|
|
|
mandatory = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_render_delay"
|
|
|
|
[object.function.return]
|
|
|
|
mandatory = true
|
|
|
|
|
2019-12-17 19:00:42 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "query_latency"
|
|
|
|
# Use Result
|
2020-11-04 17:35:36 +00:00
|
|
|
manual = true
|
2019-12-17 19:00:42 +00:00
|
|
|
|
2021-05-30 13:38:29 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "is_qos_enabled"
|
|
|
|
# Same as the qos property
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_qos_enabled"
|
|
|
|
# Same as the qos property
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "is_async_enabled"
|
|
|
|
# Same as the async property
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_async_enabled"
|
|
|
|
# Same as the async property
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "is_last_sample_enabled"
|
|
|
|
# Same as the enable-last-sample property
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_last_sample_enabled"
|
|
|
|
# Same as the enable-last-sample property
|
|
|
|
ignore = true
|
|
|
|
|
2021-05-30 17:05:31 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "get_drop_out_of_segment"
|
|
|
|
rename = "drops_out_of_segment"
|
|
|
|
|
2021-04-04 14:17:35 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "set_processing_deadline"
|
|
|
|
[[object.function.parameter]]
|
|
|
|
name = "processing_deadline"
|
|
|
|
mandatory = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_render_delay"
|
|
|
|
[[object.function.parameter]]
|
|
|
|
name = "delay"
|
|
|
|
mandatory = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "wait_clock"
|
|
|
|
[[object.function.parameter]]
|
|
|
|
name = "time"
|
|
|
|
mandatory = true
|
|
|
|
|
2018-03-15 08:05:52 +00:00
|
|
|
[[object]]
|
|
|
|
name = "GstBase.BaseSrc"
|
|
|
|
status = "generate"
|
2020-02-25 13:06:44 +00:00
|
|
|
manual_traits = ["BaseSrcExtManual"]
|
2018-03-15 08:05:52 +00:00
|
|
|
|
2021-05-30 15:41:40 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "get_allocator"
|
|
|
|
manual = true
|
|
|
|
|
2019-01-26 14:26:34 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "set_caps"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to set caps"
|
|
|
|
|
2018-03-15 08:05:52 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "submit_buffer_list"
|
|
|
|
# Pass by value, to be added manually
|
|
|
|
ignore = true
|
|
|
|
|
2019-12-17 19:00:42 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "query_latency"
|
|
|
|
# Use Result
|
2020-11-04 17:35:36 +00:00
|
|
|
manual = true
|
2019-12-17 19:00:42 +00:00
|
|
|
|
2020-08-11 07:49:37 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "new_segment"
|
|
|
|
# Segment parameter
|
2020-11-04 17:35:36 +00:00
|
|
|
manual = true
|
2020-08-11 07:49:37 +00:00
|
|
|
|
2018-11-20 21:40:39 +00:00
|
|
|
[[object]]
|
|
|
|
name = "GstBase.BaseTransform"
|
|
|
|
status = "generate"
|
2020-02-25 13:06:44 +00:00
|
|
|
manual_traits = ["BaseTransformExtManual"]
|
2018-11-20 21:40:39 +00:00
|
|
|
|
2021-05-30 15:41:40 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "get_allocator"
|
|
|
|
manual = true
|
|
|
|
|
2021-04-04 14:17:35 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "update_qos"
|
|
|
|
[[object.function.parameter]]
|
|
|
|
name = "timestamp"
|
|
|
|
mandatory = true
|
|
|
|
|
2019-01-26 14:26:34 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "update_src_caps"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to update src caps"
|
|
|
|
|
2021-05-30 13:38:29 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "is_qos_enabled"
|
|
|
|
# Same as the qos property
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_qos_enabled"
|
|
|
|
# Same as the qos property
|
|
|
|
ignore = true
|
2019-01-26 14:26:34 +00:00
|
|
|
|
2018-07-30 08:54:06 +00:00
|
|
|
[[object]]
|
2021-12-03 16:14:55 +00:00
|
|
|
name = "GstBase.FlowCombiner"
|
|
|
|
# Manual because ref/unref functions were added much later
|
2019-05-25 19:29:04 +00:00
|
|
|
status = "manual"
|
2021-12-03 16:14:55 +00:00
|
|
|
final_type = true
|
|
|
|
concurrency = "none"
|