mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-14 05:21:29 +00:00
357 lines
7.7 KiB
TOML
357 lines
7.7 KiB
TOML
[options]
|
|
girs_directories = ["../gir-files", "../gst-gir-files"]
|
|
library = "GstPbutils"
|
|
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 = [
|
|
"GstPbutils.DiscovererResult",
|
|
"GstPbutils.PbUtilsCapsDescriptionFlags",
|
|
]
|
|
|
|
manual = [
|
|
"GLib.DateTime",
|
|
"GLib.Error",
|
|
"GLib.MainContext",
|
|
"GLib.MainLoop",
|
|
"GLib.Source",
|
|
"GLib.Type",
|
|
"GLib.Variant",
|
|
"GObject.Object",
|
|
"Gst.Element",
|
|
"Gst.Object",
|
|
"Gst.Preset",
|
|
]
|
|
|
|
[[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"
|
|
|
|
[[object]]
|
|
name = "Gst.ClockTime"
|
|
status = "manual"
|
|
conversion_type = "Option"
|
|
|
|
[[object]]
|
|
name = "GstPbutils.Discoverer"
|
|
status = "generate"
|
|
final_type = true
|
|
|
|
[[object.function]]
|
|
name = "discover_uri_async"
|
|
[object.function.return]
|
|
bool_return_is_error = "Failed to add URI to list of discovers"
|
|
|
|
[[object.function]]
|
|
name = "new"
|
|
[[object.function.parameter]]
|
|
name = "timeout"
|
|
mandatory = true
|
|
|
|
# Manually implemented to use ClockTime
|
|
[[object.property]]
|
|
name = "timeout"
|
|
manual = true
|
|
|
|
[[object.property]]
|
|
name = "use-cache"
|
|
version = "1.16"
|
|
|
|
[[object]]
|
|
name = "GstPbutils.DiscovererInfo"
|
|
status = "generate"
|
|
|
|
[[object.function]]
|
|
name = "copy"
|
|
[object.function.return]
|
|
nullable = false
|
|
|
|
[[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"
|
|
|
|
[[object]]
|
|
name = "GstPbutils.DiscovererStreamInfo"
|
|
status = "generate"
|
|
final_type = false
|
|
|
|
# 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"
|
|
final_type = true
|
|
|
|
[[object]]
|
|
name = "GstPbutils.DiscovererVideoInfo"
|
|
status = "generate"
|
|
final_type = true
|
|
|
|
# Implement manually to expose as gst::Fraction
|
|
[[object.function]]
|
|
name = "get_framerate_num"
|
|
manual = true
|
|
[[object.function]]
|
|
name = "get_framerate_denom"
|
|
manual = true
|
|
[[object.function]]
|
|
name = "get_par_num"
|
|
manual = true
|
|
[[object.function]]
|
|
name = "get_par_denom"
|
|
manual = true
|
|
|
|
[[object]]
|
|
name = "GstPbutils.DiscovererSubtitleInfo"
|
|
status = "generate"
|
|
final_type = true
|
|
|
|
[[object]]
|
|
name = "GstPbutils.DiscovererContainerInfo"
|
|
status = "generate"
|
|
final_type = true
|
|
|
|
[[object]]
|
|
name = "GstPbutils.EncodingProfile"
|
|
status = "generate"
|
|
|
|
# Ignore all setters, making it immutable. A builder will be provided.
|
|
[[object.function]]
|
|
name = "new"
|
|
manual = true
|
|
[[object.function]]
|
|
pattern = "set_.*"
|
|
manual = true
|
|
|
|
[[object.function]]
|
|
pattern = "get_restriction"
|
|
manual = true
|
|
|
|
[[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
|
|
|
|
[[object.property]]
|
|
name = "restriction-caps"
|
|
# encodingprofile is immutable after constructed
|
|
ignore = true
|
|
|
|
[[object.function]]
|
|
name = "from_discoverer"
|
|
[object.function.return]
|
|
nullable_return_is_error = "Failed to create EncodingProfile from DiscovererInfo"
|
|
|
|
[[object]]
|
|
name = "GstPbutils.EncodingContainerProfile"
|
|
status = "generate"
|
|
|
|
# Make it immutable, only able to be constructed for a builder
|
|
[[object.function]]
|
|
name = "new"
|
|
manual = true
|
|
|
|
[[object.function]]
|
|
name = "add_profile"
|
|
manual = true
|
|
|
|
[[object]]
|
|
name = "GstPbutils.EncodingTarget"
|
|
status = "generate"
|
|
|
|
[[object.function]]
|
|
name = "add_profile"
|
|
# can be provided on constructor and we better
|
|
# consider this immutable
|
|
ignore = true
|
|
|
|
[[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"
|
|
final_type = true
|
|
# Ignore all setters, making it immutable. A builder will be provided.
|
|
[[object.function]]
|
|
name = "new"
|
|
manual = true
|
|
[[object.function]]
|
|
pattern = "set_.*"
|
|
manual = true
|
|
|
|
[[object]]
|
|
name = "GstPbutils.EncodingVideoProfile"
|
|
status = "generate"
|
|
final_type = true
|
|
# Ignore all setters, making it immutable. A builder will be provided.
|
|
[[object.function]]
|
|
name = "new"
|
|
manual = true
|
|
[[object.function]]
|
|
pattern = "set_.*"
|
|
manual = true
|
|
|
|
[[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
|
|
|
|
[[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"
|
|
assertion = "skip"
|
|
[object.function.return]
|
|
nullable = false
|
|
|
|
[[object.function]]
|
|
name = "plugins_base_version"
|
|
assertion = "skip"
|
|
|
|
[[object]]
|
|
name = "GstPbutils.DiscovererSerializeFlags"
|
|
status = "generate"
|
|
[[object.member]]
|
|
name = "basic"
|
|
ignore = true
|
|
[[object.member]]
|
|
name = "all"
|
|
ignore = true
|