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",
|
2019-05-25 19:29:04 +00:00
|
|
|
"GstBase.BaseParseFrameFlags",
|
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
|
|
|
|
|
|
|
|
[[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"
|
|
|
|
subclassing = true
|
|
|
|
status = "generate"
|
|
|
|
|
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
|
|
|
|
|
2018-03-15 08:05:52 +00:00
|
|
|
[[object]]
|
|
|
|
name = "GstBase.BaseSrc"
|
2018-11-20 17:33:30 +00:00
|
|
|
subclassing = true
|
2018-03-15 08:05:52 +00:00
|
|
|
status = "generate"
|
|
|
|
|
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
|
|
|
|
|
2018-11-20 21:40:39 +00:00
|
|
|
[[object]]
|
|
|
|
name = "GstBase.BaseTransform"
|
|
|
|
subclassing = true
|
|
|
|
status = "generate"
|
|
|
|
|
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"
|
2018-11-21 13:24:16 +00:00
|
|
|
subclassing = true
|
2018-07-30 21:05:15 +00:00
|
|
|
version = "1.14"
|
2018-07-30 08:54:06 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "finish_buffer"
|
|
|
|
# Takes ownership
|
|
|
|
ignore = true
|
|
|
|
|
2018-07-30 21:05:15 +00:00
|
|
|
[[object.property]]
|
|
|
|
name = "latency"
|
|
|
|
version = "1.14"
|
|
|
|
|
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"
|
2018-11-21 06:49:36 +00:00
|
|
|
subclassing = true
|
2018-07-30 21:05:15 +00:00
|
|
|
version = "1.14"
|
|
|
|
|
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"
|
|
|
|
# broken data type
|
|
|
|
ignore = true
|
|
|
|
|
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"
|
|
|
|
subclassing = true
|
|
|
|
status = "generate"
|
|
|
|
[[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
|