2018-02-19 20:15:52 +00:00
|
|
|
[options]
|
|
|
|
girs_dir = "gir-files"
|
|
|
|
library = "GstPbutils"
|
|
|
|
version = "1.0"
|
|
|
|
min_cfg_version = "1.8"
|
|
|
|
target_path = "gstreamer-pbutils"
|
|
|
|
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
|
2018-02-19 20:15:52 +00:00
|
|
|
|
|
|
|
external_libraries = [
|
|
|
|
"GLib",
|
|
|
|
"GObject",
|
|
|
|
"Gst",
|
|
|
|
]
|
|
|
|
|
|
|
|
generate = [
|
|
|
|
"GstPbutils.DiscovererResult",
|
|
|
|
"GstPbutils.DiscovererSerializeFlags",
|
|
|
|
]
|
|
|
|
|
|
|
|
manual = [
|
|
|
|
"GLib.Error",
|
|
|
|
"GLib.Source",
|
|
|
|
"GLib.DateTime",
|
|
|
|
"GLib.Variant",
|
|
|
|
"GObject.Object",
|
|
|
|
"Gst.Object",
|
|
|
|
"Gst.Element",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "Gst.Toc"
|
|
|
|
status = "manual"
|
|
|
|
ref_mode = "ref"
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "Gst.Caps"
|
|
|
|
status = "manual"
|
|
|
|
ref_mode = "ref"
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "Gst.Message"
|
|
|
|
status = "manual"
|
|
|
|
ref_mode = "ref"
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "Gst.Buffer"
|
|
|
|
status = "manual"
|
|
|
|
ref_mode = "ref"
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "Gst.Event"
|
|
|
|
status = "manual"
|
|
|
|
ref_mode = "ref"
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "Gst.TagList"
|
|
|
|
status = "manual"
|
|
|
|
ref_mode = "ref"
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "Gst.Structure"
|
|
|
|
status = "manual"
|
|
|
|
ref_mode = "ref-mut"
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "Gst.ClockTime"
|
|
|
|
status = "manual"
|
|
|
|
conversion_type = "scalar"
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "GstPbutils.Discoverer"
|
|
|
|
status = "generate"
|
2019-01-21 20:00:48 +00:00
|
|
|
final_type = true
|
2018-02-19 20:15:52 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "discover_uri_async"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to add URI to list of discovers"
|
|
|
|
|
|
|
|
# Manually implemented to use ClockTime
|
|
|
|
[[object.property]]
|
|
|
|
name = "timeout"
|
|
|
|
ignore = true
|
|
|
|
|
2019-04-23 15:47:13 +00:00
|
|
|
[[object.property]]
|
|
|
|
name = "use-cache"
|
|
|
|
version = "1.16"
|
|
|
|
|
2018-02-19 20:15:52 +00:00
|
|
|
[[object]]
|
|
|
|
name = "GstPbutils.DiscovererInfo"
|
|
|
|
status = "generate"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "copy"
|
|
|
|
[object.function.return]
|
|
|
|
nullable = false
|
|
|
|
|
2019-12-17 19:00:42 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "to_variant"
|
|
|
|
[object.function.return]
|
|
|
|
nullable_return_is_error = "Failed to serialize DiscovererInfo to Variant"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "from_variant"
|
|
|
|
[object.function.return]
|
|
|
|
nullable_return_is_error = "Failed to deserialize DiscovererInfo from Variant"
|
|
|
|
|
2018-02-19 20:15:52 +00:00
|
|
|
[[object]]
|
|
|
|
name = "GstPbutils.DiscovererStreamInfo"
|
|
|
|
status = "generate"
|
2019-01-21 20:00:48 +00:00
|
|
|
final_type = false
|
2018-02-19 20:15:52 +00:00
|
|
|
|
|
|
|
# Not useful
|
|
|
|
[[object.function]]
|
|
|
|
name = "list_free"
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_stream_type_nick"
|
|
|
|
[object.function.return]
|
|
|
|
nullable = false
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "GstPbutils.DiscovererAudioInfo"
|
|
|
|
status = "generate"
|
2019-01-21 20:00:48 +00:00
|
|
|
final_type = true
|
2018-02-19 20:15:52 +00:00
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "GstPbutils.DiscovererVideoInfo"
|
|
|
|
status = "generate"
|
2019-01-21 20:00:48 +00:00
|
|
|
final_type = true
|
2018-02-19 20:15:52 +00:00
|
|
|
|
|
|
|
# Implement manually to expose as gst::Fraction
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_framerate_num"
|
|
|
|
ignore = true
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_framerate_denom"
|
|
|
|
ignore = true
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_par_num"
|
|
|
|
ignore = true
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_par_denom"
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "GstPbutils.DiscovererSubtitleInfo"
|
|
|
|
status = "generate"
|
2019-01-21 20:00:48 +00:00
|
|
|
final_type = true
|
2018-02-19 20:15:52 +00:00
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "GstPbutils.DiscovererContainerInfo"
|
|
|
|
status = "generate"
|
2019-01-21 20:00:48 +00:00
|
|
|
final_type = true
|
2018-03-18 17:42:45 +00:00
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "GstPbutils.EncodingProfile"
|
|
|
|
status = "generate"
|
|
|
|
|
2018-10-08 04:44:17 +00:00
|
|
|
# Ignore all setters, making it immutable. A builder will be provided.
|
2018-05-13 18:31:10 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "new"
|
|
|
|
ignore = true
|
|
|
|
[[object.function]]
|
|
|
|
pattern = "set_.*"
|
|
|
|
ignore = true
|
|
|
|
|
2020-02-26 04:53:32 +00:00
|
|
|
[[object.function]]
|
|
|
|
pattern = "get_restriction"
|
|
|
|
ignore = true
|
|
|
|
|
2018-03-18 17:42:45 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "copy"
|
|
|
|
[object.function.return]
|
|
|
|
nullable = false
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_input_caps"
|
|
|
|
[object.function.return]
|
|
|
|
nullable = false
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_format"
|
|
|
|
[object.function.return]
|
|
|
|
nullable = false
|
|
|
|
|
2018-10-08 04:44:17 +00:00
|
|
|
[[object.property]]
|
|
|
|
name = "restriction-caps"
|
|
|
|
# encodingprofile is immutable after constructed
|
|
|
|
ignore = true
|
|
|
|
|
2019-12-17 19:00:42 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "from_discoverer"
|
|
|
|
[object.function.return]
|
|
|
|
nullable_return_is_error = "Failed to create EncodingProfile from DiscovererInfo"
|
|
|
|
|
2018-03-18 17:42:45 +00:00
|
|
|
[[object]]
|
|
|
|
name = "GstPbutils.EncodingContainerProfile"
|
|
|
|
status = "generate"
|
|
|
|
|
2018-10-08 04:44:17 +00:00
|
|
|
# Make it immutable, only able to be constructed for a builder
|
2018-05-13 18:31:10 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "new"
|
|
|
|
ignore = true
|
|
|
|
|
2018-03-18 17:42:45 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "add_profile"
|
2018-05-13 18:31:10 +00:00
|
|
|
ignore = true
|
2018-03-18 17:42:45 +00:00
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "GstPbutils.EncodingTarget"
|
|
|
|
status = "generate"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "add_profile"
|
2018-10-08 06:23:48 +00:00
|
|
|
# can be provided on constructor and we better
|
|
|
|
# consider this immutable
|
|
|
|
ignore = true
|
2018-03-18 17:42:45 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_category"
|
|
|
|
[object.function.return]
|
|
|
|
nullable = false
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_description"
|
|
|
|
[object.function.return]
|
|
|
|
nullable = false
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_name"
|
|
|
|
[object.function.return]
|
|
|
|
nullable = false
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "GstPbutils.EncodingAudioProfile"
|
|
|
|
status = "generate"
|
2019-01-21 20:00:48 +00:00
|
|
|
final_type = true
|
2018-10-08 04:44:17 +00:00
|
|
|
# Ignore all setters, making it immutable. A builder will be provided.
|
2018-05-13 18:31:10 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "new"
|
|
|
|
ignore = true
|
|
|
|
[[object.function]]
|
|
|
|
pattern = "set_.*"
|
|
|
|
ignore = true
|
2018-03-18 17:42:45 +00:00
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "GstPbutils.EncodingVideoProfile"
|
|
|
|
status = "generate"
|
2019-01-21 20:00:48 +00:00
|
|
|
final_type = true
|
2018-10-08 04:44:17 +00:00
|
|
|
# Ignore all setters, making it immutable. A builder will be provided.
|
2018-05-13 18:31:10 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "new"
|
|
|
|
ignore = true
|
|
|
|
[[object.function]]
|
|
|
|
pattern = "set_.*"
|
|
|
|
ignore = true
|
|
|
|
|
2018-10-28 12:39:27 +00:00
|
|
|
[[object]]
|
|
|
|
name = "GstPbutils.*"
|
|
|
|
status = "generate"
|
|
|
|
# We'll opt-in for constants at a later time
|
|
|
|
[[object.constant]]
|
|
|
|
pattern = ".+"
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
# Codec utils need some special care
|
|
|
|
[[object.function]]
|
|
|
|
pattern = "codec_utils.*"
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
# Plugin installer API needs some manual impls
|
|
|
|
[[object.function]]
|
|
|
|
pattern = "install_plugins.*"
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
# Plugin installer API needs some manual impls
|
|
|
|
[[object.function]]
|
|
|
|
pattern = "missing_.*"
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
# Plugin installer API needs some manual impls
|
|
|
|
[[object.function]]
|
|
|
|
name = "is_missing_plugin_message"
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
# Initialization is handled implicitely
|
|
|
|
[[object.function]]
|
|
|
|
name = "pb_utils_init"
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
# Needs special handling for mutable taglists
|
|
|
|
[[object.function]]
|
|
|
|
name = "pb_utils_add_codec_description_to_tag_list"
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
# Needs special handling for caps refs
|
|
|
|
[[object.function]]
|
|
|
|
name = "pb_utils_get_codec_description"
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
# Needs special handling for caps refs
|
|
|
|
[[object.function]]
|
|
|
|
name = "pb_utils_get_decoder_description"
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
# Needs special handling for caps refs
|
|
|
|
[[object.function]]
|
|
|
|
name = "pb_utils_get_encoder_description"
|
|
|
|
ignore = true
|
2019-12-17 19:00:42 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "pb_utils_get_element_description"
|
|
|
|
[object.function.return]
|
|
|
|
nullable_return_is_error = "Failed to get element description"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "pb_utils_get_sink_description"
|
|
|
|
[object.function.return]
|
|
|
|
nullable_return_is_error = "Failed to get sink description"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "pb_utils_get_source_description"
|
|
|
|
[object.function.return]
|
|
|
|
nullable_return_is_error = "Failed to get source description"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "plugins_base_version_string"
|
|
|
|
[object.function.return]
|
|
|
|
nullable = false
|