2017-09-09 13:54:02 +00:00
|
|
|
[options]
|
|
|
|
girs_dir = "gir-files"
|
|
|
|
library = "GstBase"
|
|
|
|
version = "1.0"
|
|
|
|
min_cfg_version = "1.8"
|
|
|
|
target_path = "gstreamer-base"
|
|
|
|
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
|
2017-09-09 13:54:02 +00:00
|
|
|
|
|
|
|
external_libraries = [
|
|
|
|
"GLib",
|
|
|
|
"GObject",
|
|
|
|
"Gst",
|
|
|
|
]
|
|
|
|
|
|
|
|
generate = [
|
|
|
|
"GstBase.PushSrc",
|
2020-07-06 08:30:12 +00:00
|
|
|
"GstBase.AggregatorStartTimeSelection",
|
2017-09-09 13:54:02 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
manual = [
|
|
|
|
"GObject.Object",
|
|
|
|
"GLib.Bytes",
|
|
|
|
"Gst.Object",
|
|
|
|
"Gst.Element",
|
2018-07-30 08:54:06 +00:00
|
|
|
"Gst.BufferPool",
|
2017-09-09 13:54:02 +00:00
|
|
|
"Gst.ClockTimeDiff",
|
|
|
|
"Gst.ClockReturn",
|
|
|
|
"Gst.FlowReturn",
|
|
|
|
"Gst.Format",
|
|
|
|
"Gst.Pad",
|
2017-12-18 08:05:42 +00:00
|
|
|
"Gst.TypeFindProbability",
|
2019-05-25 19:29:04 +00:00
|
|
|
"Gst.TagMergeMode",
|
|
|
|
"GstBase.BaseParseFrame",
|
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
|
2018-11-10 11:27:37 +00:00
|
|
|
concurrency = "send-unique"
|
2017-09-09 13:54:02 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "map"
|
|
|
|
# Unsafe
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "unmap"
|
|
|
|
# Unsafe
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "copy"
|
|
|
|
# Unsafe
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "push"
|
|
|
|
# Move Buffer
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "take"
|
|
|
|
# Useless copying of data
|
|
|
|
ignore = true
|
|
|
|
|
2019-12-17 19:00:42 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "copy_bytes"
|
|
|
|
[object.function.return]
|
|
|
|
nullable_return_is_error = "Failed to copy bytes"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_buffer"
|
|
|
|
[object.function.return]
|
|
|
|
nullable_return_is_error = "Failed to get buffer"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_buffer_fast"
|
|
|
|
[object.function.return]
|
|
|
|
nullable_return_is_error = "Failed to get buffer"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_buffer_list"
|
|
|
|
[object.function.return]
|
|
|
|
nullable_return_is_error = "Failed to get buffer list"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "take_buffer"
|
|
|
|
[object.function.return]
|
|
|
|
nullable_return_is_error = "Failed to take buffer"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "take_buffer_fast"
|
|
|
|
[object.function.return]
|
|
|
|
nullable_return_is_error = "Failed to take buffer"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "take_buffer_list"
|
|
|
|
[object.function.return]
|
|
|
|
nullable_return_is_error = "Failed to take buffer list"
|
|
|
|
|
2017-09-09 13:54:02 +00:00
|
|
|
[[object]]
|
|
|
|
name = "GstBase.FlowCombiner"
|
2017-10-11 08:30:28 +00:00
|
|
|
# Manual because ref/unref functions were added much later
|
2017-10-10 15:52:54 +00:00
|
|
|
status = "manual"
|
2019-01-21 20:00:48 +00:00
|
|
|
final_type = true
|
2017-09-09 13:54:02 +00:00
|
|
|
concurrency = "none"
|
|
|
|
|
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
|
|
|
|
2019-01-08 16:13:37 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "wait"
|
|
|
|
# Use Result<FlowSuccess, FlowError>
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "wait_preroll"
|
|
|
|
# Use Result<FlowSuccess, FlowError>
|
|
|
|
ignore = true
|
|
|
|
|
2019-07-11 12:34:28 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "wait_clock"
|
|
|
|
# Use Result<ClockSuccess, ClockError>
|
|
|
|
ignore = true
|
|
|
|
|
2019-12-17 19:00:42 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "query_latency"
|
|
|
|
# Use Result
|
|
|
|
ignore = 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
|
|
|
|
2019-01-26 14:26:34 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "set_caps"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to set caps"
|
|
|
|
|
2019-01-08 16:13:37 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "start_complete"
|
|
|
|
# Use Result<FlowSuccess, FlowError>
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "start_wait"
|
|
|
|
# Use Result<FlowSuccess, FlowError>
|
|
|
|
ignore = true
|
|
|
|
|
2018-03-15 08:05:52 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "submit_buffer_list"
|
|
|
|
# Pass by value, to be added manually
|
|
|
|
ignore = true
|
|
|
|
|
2019-01-08 16:13:37 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "wait_playing"
|
|
|
|
# Use Result<FlowSuccess, FlowError>
|
|
|
|
ignore = true
|
|
|
|
|
2019-12-17 19:00:42 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "query_latency"
|
|
|
|
# Use Result
|
|
|
|
ignore = true
|
|
|
|
|
2020-08-11 07:49:37 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "new_segment"
|
|
|
|
# Segment parameter
|
|
|
|
ignore = true
|
|
|
|
|
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
|
|
|
|
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"
|
|
|
|
|
|
|
|
|
2018-07-30 08:54:06 +00:00
|
|
|
[[object]]
|
|
|
|
name = "GstBase.Aggregator"
|
|
|
|
status = "generate"
|
2020-02-25 13:06:44 +00:00
|
|
|
manual_traits = ["AggregatorExtManual"]
|
2018-07-30 08:54:06 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "finish_buffer"
|
|
|
|
# Takes ownership
|
|
|
|
ignore = true
|
|
|
|
|
2020-08-11 07:49:37 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "finish_buffer_list"
|
|
|
|
# Takes ownership
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "selected_samples"
|
|
|
|
# Info parameter
|
|
|
|
ignore = true
|
|
|
|
|
2018-07-30 21:05:15 +00:00
|
|
|
[[object.property]]
|
|
|
|
name = "latency"
|
|
|
|
version = "1.14"
|
|
|
|
|
2020-07-06 08:37:01 +00:00
|
|
|
[[object.property]]
|
|
|
|
name = "start-time-selection"
|
|
|
|
version = "1.18"
|
|
|
|
|
2019-04-23 15:47:13 +00:00
|
|
|
[[object.property]]
|
|
|
|
name = "min-upstream-latency"
|
|
|
|
# clock time instead of u64
|
|
|
|
ignore = true
|
|
|
|
|
2018-07-30 21:05:15 +00:00
|
|
|
[[object]]
|
|
|
|
name = "GstBase.AggregatorPad"
|
|
|
|
status = "generate"
|
2020-02-25 13:06:44 +00:00
|
|
|
manual_traits = ["AggregatorPadExtManual"]
|
2018-07-30 21:05:15 +00:00
|
|
|
|
2017-12-18 08:05:42 +00:00
|
|
|
[[object]]
|
|
|
|
name = "GstBase.*"
|
|
|
|
status = "generate"
|
2018-03-02 19:25:12 +00:00
|
|
|
# We'll opt-in for constants at a later time
|
|
|
|
[[object.constant]]
|
|
|
|
pattern = ".+"
|
|
|
|
ignore = true
|
2017-12-18 08:05:42 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "type_find_helper_for_data"
|
2019-07-11 12:34:28 +00:00
|
|
|
# broken return value
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "type_find_helper_for_data_with_extension"
|
|
|
|
# broken return value
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "type_find_helper_for_buffer"
|
|
|
|
# broken return value
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "type_find_helper_for_buffer_with_extension"
|
|
|
|
# broken return value
|
2017-12-18 08:05:42 +00:00
|
|
|
ignore = true
|
|
|
|
|
2019-12-17 19:00:42 +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 = "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"
|
2017-11-11 10:21:55 +00:00
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "Gst.ClockTime"
|
|
|
|
status = "manual"
|
|
|
|
conversion_type = "scalar"
|
2019-05-25 19:29:04 +00:00
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "Gst.TagList"
|
|
|
|
status = "manual"
|
|
|
|
ref_mode = "ref"
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "GstBase.BaseParse"
|
|
|
|
status = "generate"
|
2020-02-25 13:06:44 +00:00
|
|
|
manual_traits = ["BaseParseExtManual"]
|
2019-05-25 19:29:04 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "finish_frame"
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_duration"
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "convert_default"
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_frame_rate"
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
# Didn't bind gst_base_parse_frame_{new,init} so not needed
|
|
|
|
[[object.function]]
|
|
|
|
name = "push_frame"
|
|
|
|
ignore = true
|
2020-06-30 07:22:52 +00:00
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "GstBase.BaseParseFrameFlags"
|
|
|
|
status = "generate"
|
|
|
|
[[object.member]]
|
|
|
|
name = "none"
|
|
|
|
ignore = true
|