2017-05-12 12:24:03 +00:00
|
|
|
[options]
|
|
|
|
girs_dir = "gir-files"
|
|
|
|
library = "Gst"
|
|
|
|
version = "1.0"
|
2017-07-04 22:47:33 +00:00
|
|
|
min_cfg_version = "1.8"
|
2017-05-12 12:24:03 +00:00
|
|
|
target_path = "gstreamer"
|
|
|
|
work_mode = "normal"
|
2017-06-25 08:04:37 +00:00
|
|
|
concurrency = "send+sync"
|
2017-07-10 09:36:15 +00:00
|
|
|
generate_safety_asserts = true
|
2017-05-12 12:24:03 +00:00
|
|
|
|
|
|
|
external_libraries = [
|
|
|
|
"GLib",
|
|
|
|
"GObject",
|
|
|
|
]
|
|
|
|
|
|
|
|
generate = [
|
|
|
|
"Gst.ClockTime",
|
|
|
|
"Gst.Pipeline",
|
|
|
|
"Gst.State",
|
|
|
|
"Gst.StateChangeReturn",
|
|
|
|
"Gst.StateChange",
|
|
|
|
"Gst.SeekFlags",
|
|
|
|
"Gst.SeekType",
|
|
|
|
"Gst.FlowReturn",
|
|
|
|
"Gst.PadDirection",
|
|
|
|
"Gst.PadTemplate",
|
2017-07-10 21:02:08 +00:00
|
|
|
"Gst.PadPresence",
|
2017-05-12 12:24:03 +00:00
|
|
|
"Gst.URIHandler",
|
|
|
|
"Gst.URIType",
|
|
|
|
"Gst.ElementFactoryListType",
|
|
|
|
"Gst.Format",
|
2017-07-03 14:52:10 +00:00
|
|
|
"Gst.BufferingMode",
|
|
|
|
"Gst.CoreError",
|
|
|
|
"Gst.ResourceError",
|
|
|
|
"Gst.LibraryError",
|
|
|
|
"Gst.StreamError",
|
|
|
|
"Gst.PluginError",
|
|
|
|
"Gst.ParseError",
|
|
|
|
"Gst.URIError",
|
2017-07-04 22:47:33 +00:00
|
|
|
"Gst.StructureChangeType",
|
|
|
|
"Gst.StreamStatusType",
|
|
|
|
"Gst.DeviceProvider",
|
|
|
|
"Gst.DeviceProviderFactory",
|
|
|
|
"Gst.StreamType",
|
|
|
|
"Gst.StreamFlags",
|
2017-07-05 07:40:02 +00:00
|
|
|
"Gst.PadLinkReturn",
|
2017-07-07 11:38:00 +00:00
|
|
|
"Gst.ProgressType",
|
2017-07-11 16:29:16 +00:00
|
|
|
"Gst.BusSyncReply",
|
2017-07-12 07:27:43 +00:00
|
|
|
"Gst.TagMergeMode",
|
2017-07-24 08:51:14 +00:00
|
|
|
"Gst.PadProbeType",
|
|
|
|
"Gst.PadProbeReturn",
|
2017-07-24 23:03:18 +00:00
|
|
|
"Gst.CapsIntersectMode",
|
2017-07-25 12:01:24 +00:00
|
|
|
"Gst.BufferFlags",
|
2017-07-28 16:47:23 +00:00
|
|
|
"Gst.SegmentFlags",
|
2017-07-29 11:58:54 +00:00
|
|
|
"Gst.PadMode",
|
|
|
|
"Gst.SchedulingFlags",
|
2017-07-29 13:37:06 +00:00
|
|
|
"Gst.IteratorResult",
|
2017-07-29 14:10:10 +00:00
|
|
|
"Gst.ChildProxy",
|
2017-07-29 14:21:25 +00:00
|
|
|
"Gst.Preset",
|
|
|
|
"Gst.TagSetter",
|
2017-07-30 14:06:44 +00:00
|
|
|
"Gst.QOSType",
|
2017-07-30 14:09:51 +00:00
|
|
|
"Gst.EventType",
|
2017-05-12 12:24:03 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
manual = [
|
|
|
|
"GLib.Error",
|
2017-07-11 16:29:16 +00:00
|
|
|
"GLib.Source",
|
2017-07-29 14:10:10 +00:00
|
|
|
"GObject.Object",
|
2017-07-07 13:04:54 +00:00
|
|
|
"Gst.Structure",
|
2017-07-29 13:37:06 +00:00
|
|
|
"Gst.Iterator",
|
2017-05-12 12:24:03 +00:00
|
|
|
]
|
2017-06-24 09:02:24 +00:00
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "Gst.Bin"
|
|
|
|
status = "generate"
|
|
|
|
[[object.function]]
|
|
|
|
name = "add"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to add element"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "remove"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to remove element"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "recalculate_latency"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to recalculate latency"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "sync_children_states"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to sync children states"
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "Gst.Bus"
|
|
|
|
status = "generate"
|
2017-07-03 11:06:08 +00:00
|
|
|
trait = false
|
2017-06-24 09:02:24 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "remove_watch"
|
|
|
|
# Needs manual bindings and GSource support in glib-rs
|
|
|
|
ignore = true
|
|
|
|
|
2017-07-03 10:56:26 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "timed_pop_filtered"
|
|
|
|
# Uses enum as flags
|
|
|
|
ignore = true
|
|
|
|
[[object.function]]
|
|
|
|
name = "pop_filtered"
|
|
|
|
# Uses enum as flags
|
|
|
|
ignore = true
|
|
|
|
[[object.function]]
|
|
|
|
name = "poll"
|
|
|
|
# Uses enum as flags
|
|
|
|
ignore = true
|
|
|
|
|
2017-07-11 16:29:16 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "create_watch"
|
|
|
|
# More convenient manual implementation
|
|
|
|
ignore = true
|
|
|
|
|
2017-07-10 21:02:08 +00:00
|
|
|
[[object]]
|
|
|
|
name = "Gst.Caps"
|
|
|
|
status = "manual"
|
|
|
|
ref_mode = "ref"
|
|
|
|
|
2017-07-25 12:21:03 +00:00
|
|
|
[[object]]
|
|
|
|
name = "Gst.Buffer"
|
|
|
|
status = "manual"
|
|
|
|
ref_mode = "ref"
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "Gst.Message"
|
|
|
|
status = "manual"
|
|
|
|
ref_mode = "ref"
|
|
|
|
|
2017-07-30 14:09:51 +00:00
|
|
|
[[object]]
|
|
|
|
name = "Gst.Event"
|
|
|
|
status = "manual"
|
|
|
|
ref_mode = "ref"
|
|
|
|
|
2017-07-25 12:21:03 +00:00
|
|
|
[[object]]
|
|
|
|
name = "Gst.TagList"
|
|
|
|
status = "manual"
|
|
|
|
ref_mode = "ref"
|
|
|
|
|
2017-07-29 13:04:34 +00:00
|
|
|
[[object]]
|
|
|
|
name = "Gst.Query"
|
|
|
|
status = "manual"
|
|
|
|
ref_mode = "ref"
|
|
|
|
|
2017-07-29 14:11:44 +00:00
|
|
|
[[object]]
|
|
|
|
name = "Gst.DateTime"
|
|
|
|
status = "generate"
|
|
|
|
concurrency = "send"
|
|
|
|
|
2017-06-24 09:02:24 +00:00
|
|
|
[[object]]
|
|
|
|
name = "Gst.Clock"
|
|
|
|
status = "generate"
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_master"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to set master clock"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "wait_for_sync"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Timed out waiting for sync"
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "Gst.Element"
|
|
|
|
status = "generate"
|
|
|
|
[[object.function]]
|
|
|
|
name = "add_pad"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to add pad"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "remove_pad"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to remove pad"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "link"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to link elements"
|
|
|
|
|
2017-07-10 21:02:08 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "link_filtered"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to link elements"
|
|
|
|
|
2017-06-24 09:02:24 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "link_pads"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to link pads"
|
|
|
|
|
2017-07-10 21:02:08 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "link_pads_filtered"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to link pads"
|
|
|
|
|
2017-06-24 09:02:24 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "seek"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to seek"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "seek_simple"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to seek"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_clock"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to set clock"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "sync_state_with_parent"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to sync state with parent"
|
|
|
|
|
2017-07-29 13:04:34 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "query"
|
|
|
|
# correct mutability
|
|
|
|
ignore = true
|
|
|
|
|
2017-07-03 11:06:08 +00:00
|
|
|
[[object]]
|
|
|
|
name = "Gst.ElementFactory"
|
|
|
|
status = "generate"
|
|
|
|
trait = false
|
|
|
|
|
2017-07-07 13:04:54 +00:00
|
|
|
[[object]]
|
|
|
|
name = "Gst.Device"
|
|
|
|
status = "generate"
|
2017-07-10 21:02:08 +00:00
|
|
|
[[object.property]]
|
|
|
|
name = "properties"
|
2017-07-07 13:04:54 +00:00
|
|
|
# Structure is not a GObject
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.property]]
|
2017-07-10 21:02:08 +00:00
|
|
|
name = "caps"
|
|
|
|
# Caps is not a GObject
|
2017-07-07 13:04:54 +00:00
|
|
|
ignore = true
|
|
|
|
|
2017-07-25 12:28:09 +00:00
|
|
|
[[object.property]]
|
|
|
|
name = "device-class"
|
|
|
|
# Has getter/setter functions
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.property]]
|
|
|
|
name = "display-name"
|
|
|
|
# Has getter/setter functions
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "Gst.DeviceMonitor"
|
|
|
|
status = "generate"
|
|
|
|
|
|
|
|
[[object.property]]
|
|
|
|
name = "show-all"
|
|
|
|
# Has getter/setter functions
|
|
|
|
ignore = true
|
2017-07-07 13:04:54 +00:00
|
|
|
|
2017-06-24 09:02:24 +00:00
|
|
|
[[object]]
|
|
|
|
name = "Gst.Object"
|
|
|
|
status = "generate"
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_name"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to set object name"
|
|
|
|
|
2017-07-03 15:08:43 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "get_name"
|
|
|
|
[object.function.return]
|
|
|
|
nullable = false
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_path_string"
|
|
|
|
[object.function.return]
|
|
|
|
nullable = false
|
|
|
|
|
2017-06-24 09:02:24 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "set_parent"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to set parent object"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "sync_values"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to sync values"
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "Gst.Pad"
|
|
|
|
status = "generate"
|
|
|
|
[[object.function]]
|
|
|
|
name = "link_maybe_ghosting"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to link pad, possibly ghosting"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "unlink"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to unlink pad"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "pause_task"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to pause pad task"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "stop_task"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to stop pad task"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_active"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to activate pad"
|
|
|
|
|
2017-07-29 11:58:54 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "activate_mode"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to activate mode pad"
|
|
|
|
|
2017-07-10 21:02:08 +00:00
|
|
|
[[object.property]]
|
|
|
|
name = "caps"
|
|
|
|
# Caps is not a GObject
|
|
|
|
ignore = true
|
|
|
|
|
2017-07-24 08:51:14 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "remove_probe"
|
|
|
|
# Don't use a ulong
|
|
|
|
ignore = true
|
|
|
|
|
2017-07-25 12:21:03 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "chain"
|
|
|
|
# Move buffer
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "push"
|
|
|
|
# Move buffer
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "pull_range"
|
|
|
|
# Buffer can be NULL
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_range"
|
|
|
|
# Buffer can be NULL
|
|
|
|
ignore = true
|
|
|
|
|
2017-07-25 12:28:09 +00:00
|
|
|
[[object.property]]
|
|
|
|
name = "template"
|
|
|
|
# Has getter/setter functions
|
|
|
|
ignore = true
|
|
|
|
|
2017-07-29 13:04:34 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "query"
|
|
|
|
# Correct mutability
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "peer_query"
|
|
|
|
# Correct mutability
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "query_default"
|
|
|
|
# Correct mutability
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "proxy_query_caps"
|
|
|
|
# Correct mutability
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "proxy_query_accept_caps"
|
|
|
|
# Correct mutability
|
|
|
|
ignore = true
|
|
|
|
|
2017-07-29 13:19:15 +00:00
|
|
|
[[object]]
|
|
|
|
name = "Gst.GhostPad"
|
|
|
|
status = "generate"
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_target"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to set target"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "new"
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "new_from_template"
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "construct"
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "Gst.ProxyPad"
|
|
|
|
status = "generate"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "chain_default"
|
|
|
|
# Buffer move
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "getrange_default"
|
|
|
|
# Buffer move
|
|
|
|
ignore = true
|
|
|
|
|
2017-07-10 21:26:27 +00:00
|
|
|
[[object]]
|
|
|
|
name = "Gst.Stream"
|
|
|
|
status = "generate"
|
|
|
|
|
|
|
|
[[object.property]]
|
|
|
|
name = "caps"
|
|
|
|
# Caps is not a GObject
|
|
|
|
ignore = true
|
|
|
|
|
2017-07-25 12:21:03 +00:00
|
|
|
[[object.property]]
|
|
|
|
name = "tags"
|
|
|
|
# TagList is not a GObject
|
|
|
|
ignore = true
|
|
|
|
|
2017-07-25 12:28:09 +00:00
|
|
|
[[object.property]]
|
|
|
|
name = "stream-flags"
|
|
|
|
# Has setter/getter functions
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.property]]
|
|
|
|
name = "stream-id"
|
|
|
|
# Has setter/getter functions
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.property]]
|
|
|
|
name = "stream-type"
|
|
|
|
# Has setter/getter functions
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "Gst.StreamCollection"
|
|
|
|
status = "generate"
|
|
|
|
|
|
|
|
[[object.property]]
|
|
|
|
name = "upstream-id"
|
|
|
|
# Has setter/getter functions
|
|
|
|
ignore = true
|
|
|
|
|
2017-07-28 16:38:52 +00:00
|
|
|
[[object]]
|
|
|
|
name = "Gst.Segment"
|
|
|
|
status = "generate"
|
|
|
|
concurrency = "send"
|
|
|
|
|
2017-07-03 11:06:08 +00:00
|
|
|
[[object]]
|
|
|
|
name = "Gst.Plugin"
|
|
|
|
status = "generate"
|
|
|
|
trait = false
|
|
|
|
|
2017-06-24 09:02:24 +00:00
|
|
|
[[object]]
|
|
|
|
name = "Gst.*"
|
|
|
|
status = "generate"
|
|
|
|
[[object.function]]
|
|
|
|
name = "update_registry"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to update registry"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "util_dump_mem"
|
|
|
|
ignore = true
|
2017-07-04 22:47:33 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "protection_select_system"
|
|
|
|
# unsupported array type
|
|
|
|
ignore = true
|
|
|
|
|