gstreamer: regenerate

This commit is contained in:
François Laignel 2020-11-03 22:59:35 +01:00
parent 9ec3100ee3
commit 60d48f838b
3 changed files with 99 additions and 99 deletions

View file

@ -79,7 +79,7 @@ trait_name = "GstBinExt"
[[object.signal]] [[object.signal]]
name = "do-latency" name = "do-latency"
# Use Result<(), glib::BoolError> # Use Result<(), glib::BoolError>
ignore = true manual = true
[[object.function]] [[object.function]]
name = "add" name = "add"
@ -118,40 +118,40 @@ final_type = true
[[object.function]] [[object.function]]
name = "set_sync_handler" name = "set_sync_handler"
# Into<Option<_>> makes this hard to use # Into<Option<_>> makes this hard to use
ignore = true manual = true
[[object.function]] [[object.function]]
name = "add_signal_watch_full" name = "add_signal_watch_full"
# Priority # Priority
ignore = true manual = true
[[object.function]] [[object.function]]
name = "timed_pop_filtered" name = "timed_pop_filtered"
# Uses enum as flags # Uses enum as flags
ignore = true manual = true
[[object.function]] [[object.function]]
name = "pop_filtered" name = "pop_filtered"
# Uses enum as flags # Uses enum as flags
ignore = true manual = true
[[object.function]] [[object.function]]
name = "poll" name = "poll"
# Uses enum as flags # Uses enum as flags
ignore = true manual = true
[[object.function]] [[object.function]]
name = "create_watch" name = "create_watch"
# More convenient manual implementation # More convenient manual implementation
ignore = true manual = true
[[object.function]] [[object.function]]
name = "add_watch" name = "add_watch"
# More specific trait bounds possible for the closure # More specific trait bounds possible for the closure
ignore = true manual = true
[[object.function]] [[object.function]]
name = "add_watch_full" name = "add_watch_full"
# More specific trait bounds possible for the closure # More specific trait bounds possible for the closure
ignore = true manual = true
[[object.function]] [[object.function]]
name = "remove_watch" name = "remove_watch"
@ -204,10 +204,10 @@ status = "generate"
manual_traits = ["ChildProxyExtManual"] manual_traits = ["ChildProxyExtManual"]
[[object.function]] [[object.function]]
name = "get_property" name = "get_property"
ignore = true manual = true
[[object.function]] [[object.function]]
name = "set_property" name = "set_property"
ignore = true manual = true
[[object]] [[object]]
name = "Gst.ClockTime" name = "Gst.ClockTime"
@ -276,7 +276,7 @@ status = "generate"
manual_traits = ["TagSetterExtManual"] manual_traits = ["TagSetterExtManual"]
[[object.function]] [[object.function]]
name = "add_tag_value" name = "add_tag_value"
ignore = true manual = true
[[object]] [[object]]
name = "Gst.TocScope" name = "Gst.TocScope"
@ -511,22 +511,22 @@ manual_traits = ["ElementExtManual"]
[[object.function]] [[object.function]]
name = "call_async" name = "call_async"
# more specific closure type possible # more specific closure type possible
ignore = true manual = true
[[object.function]] [[object.function]]
name = "get_current_running_time" name = "get_current_running_time"
# manual implementation also works for earlier versions # manual implementation also works for earlier versions
ignore = true manual = true
[[object.function]] [[object.function]]
name = "get_current_clock_time" name = "get_current_clock_time"
# manual implementation also works for earlier versions # manual implementation also works for earlier versions
ignore = true manual = true
[[object.function]] [[object.function]]
name = "post_message" name = "post_message"
# takes ownership of message # takes ownership of message
ignore = true manual = true
[[object.function]] [[object.function]]
name = "add_pad" name = "add_pad"
@ -591,32 +591,32 @@ manual_traits = ["ElementExtManual"]
[[object.function]] [[object.function]]
name = "change_state" name = "change_state"
# Use Result<StateChangeSuccess, StateChangeError> # Use Result<StateChangeSuccess, StateChangeError>
ignore = true manual = true
[[object.function]] [[object.function]]
name = "continue_state" name = "continue_state"
# Use Result<StateChangeSuccess, StateChangeError> # Use Result<StateChangeSuccess, StateChangeError>
ignore = true manual = true
[[object.function]] [[object.function]]
name = "get_state" name = "get_state"
# Use Result<StateChangeSuccess, StateChangeError> # Use Result<StateChangeSuccess, StateChangeError>
ignore = true manual = true
[[object.function]] [[object.function]]
name = "set_state" name = "set_state"
# Use Result<StateChangeSuccess, StateChangeError> # Use Result<StateChangeSuccess, StateChangeError>
ignore = true manual = true
[[object.function]] [[object.function]]
name = "query" name = "query"
# correct mutability # correct mutability
ignore = true manual = true
[[object.function]] [[object.function]]
name = "send_event" name = "send_event"
# Pass by value # Pass by value
ignore = true manual = true
[[object.function]] [[object.function]]
name = "get_context_unlocked" name = "get_context_unlocked"
@ -626,42 +626,42 @@ manual_traits = ["ElementExtManual"]
[[object.function]] [[object.function]]
name = "add_property_deep_notify_watch" name = "add_property_deep_notify_watch"
# ulong # ulong
ignore = true manual = true
[[object.function]] [[object.function]]
name = "add_property_notify_watch" name = "add_property_notify_watch"
# ulong # ulong
ignore = true manual = true
[[object.function]] [[object.function]]
name = "remove_property_notify_watch" name = "remove_property_notify_watch"
# ulong # ulong
ignore = true manual = true
[[object.function]] [[object.function]]
name = "query_duration" name = "query_duration"
# formatted value # formatted value
ignore = true manual = true
[[object.function]] [[object.function]]
name = "query_position" name = "query_position"
# formatted value # formatted value
ignore = true manual = true
[[object.function]] [[object.function]]
name = "query_convert" name = "query_convert"
# formatted value # formatted value
ignore = true manual = true
[[object.function]] [[object.function]]
name = "seek" name = "seek"
# formatted value # formatted value
ignore = true manual = true
[[object.function]] [[object.function]]
name = "seek_simple" name = "seek_simple"
# formatted value # formatted value
ignore = true manual = true
[[object.function]] [[object.function]]
name = "state_change_return_get_name" name = "state_change_return_get_name"
@ -676,21 +676,21 @@ manual_traits = ["ElementExtManual"]
[[object.function]] [[object.function]]
name = "get_metadata" name = "get_metadata"
# better manual function # better manual function
ignore = true manual = true
[[object.function]] [[object.function]]
name = "get_pad_template" name = "get_pad_template"
# better manual function # better manual function
ignore = true manual = true
[[object.function]] [[object.function]]
name = "get_pad_template_list" name = "get_pad_template_list"
# better manual function # better manual function
ignore = true manual = true
[[object.function]] [[object.function]]
name = "register" name = "register"
ignore = true manual = true
[[object]] [[object]]
name = "Gst.ElementFactory" name = "Gst.ElementFactory"
@ -732,12 +732,12 @@ manual_traits = ["DeviceProviderExtManual"]
[[object.function]] [[object.function]]
name = "register" name = "register"
ignore = true manual = true
[[object.function]] [[object.function]]
name = "get_metadata" name = "get_metadata"
# better manual function # better manual function
ignore = true manual = true
[[object]] [[object]]
name = "Gst.DeviceMonitor" name = "Gst.DeviceMonitor"
@ -746,12 +746,12 @@ manual_traits = ["DeviceMonitorExtManual"]
[[object.function]] [[object.function]]
name = "new" name = "new"
# Work-around for 1.14 switch from transfer-floating to transfer-full # Work-around for 1.14 switch from transfer-floating to transfer-full
ignore = true manual = true
[[object.function]] [[object.function]]
name = "add_filter" name = "add_filter"
# Return Option<DeviceMonitorFilterId> # Return Option<DeviceMonitorFilterId>
ignore = true manual = true
[[object.function]] [[object.function]]
name = "get_bus" name = "get_bus"
@ -766,7 +766,7 @@ manual_traits = ["DeviceMonitorExtManual"]
[[object.function]] [[object.function]]
name = "remove_filter" name = "remove_filter"
# Use DeviceMonitorFilterId and return Result<(), glib::BoolError> # Use DeviceMonitorFilterId and return Result<(), glib::BoolError>
ignore = true manual = true
[[object]] [[object]]
name = "Gst.Device" name = "Gst.Device"
@ -908,167 +908,167 @@ manual_traits = ["PadExtManual"]
[[object.function]] [[object.function]]
name = "remove_probe" name = "remove_probe"
# Don't use a ulong # Don't use a ulong
ignore = true manual = true
[[object.function]] [[object.function]]
name = "chain" name = "chain"
# Move buffer # Move buffer
ignore = true manual = true
[[object.function]] [[object.function]]
name = "push" name = "push"
# Move buffer # Move buffer
ignore = true manual = true
[[object.function]] [[object.function]]
name = "chain_list" name = "chain_list"
# Move buffer # Move buffer
ignore = true manual = true
[[object.function]] [[object.function]]
name = "push_list" name = "push_list"
# Move buffer # Move buffer
ignore = true manual = true
[[object.function]] [[object.function]]
name = "pull_range" name = "pull_range"
# Buffer can be NULL # Buffer can be NULL
ignore = true manual = true
[[object.function]] [[object.function]]
name = "get_range" name = "get_range"
# Buffer can be NULL # Buffer can be NULL
ignore = true manual = true
[[object.function]] [[object.function]]
name = "get_last_flow_return" name = "get_last_flow_return"
# Use Result<FlowSuccess, FlowError> # Use Result<FlowSuccess, FlowError>
ignore = true manual = true
[[object.function]] [[object.function]]
name = "query" name = "query"
# Correct mutability # Correct mutability
ignore = true manual = true
[[object.function]] [[object.function]]
name = "peer_query" name = "peer_query"
# Correct mutability # Correct mutability
ignore = true manual = true
[[object.function]] [[object.function]]
name = "query_default" name = "query_default"
# Correct mutability # Correct mutability
ignore = true manual = true
[[object.function]] [[object.function]]
name = "proxy_query_caps" name = "proxy_query_caps"
# Correct mutability # Correct mutability
ignore = true manual = true
[[object.function]] [[object.function]]
name = "proxy_query_accept_caps" name = "proxy_query_accept_caps"
# Correct mutability # Correct mutability
ignore = true manual = true
[[object.function]] [[object.function]]
name = "event_default" name = "event_default"
# Pass by value # Pass by value
ignore = true manual = true
[[object.function]] [[object.function]]
name = "push_event" name = "push_event"
# Pass by value # Pass by value
ignore = true manual = true
[[object.function]] [[object.function]]
name = "send_event" name = "send_event"
# Pass by value # Pass by value
ignore = true manual = true
[[object.function]] [[object.function]]
name = "link" name = "link"
# Use Result<PadLinkSuccess, PadLinkError> # Use Result<PadLinkSuccess, PadLinkError>
ignore = true manual = true
[[object.function]] [[object.function]]
name = "link_full" name = "link_full"
# Use Result<PadLinkSuccess, PadLinkError> # Use Result<PadLinkSuccess, PadLinkError>
ignore = true manual = true
[[object.function]] [[object.function]]
name = "store_sticky_event" name = "store_sticky_event"
# Use Result<FlowSuccess, FlowError> # Use Result<FlowSuccess, FlowError>
ignore = true manual = true
[[object.function]] [[object.function]]
name = "new" name = "new"
# Builder # Builder
ignore = true manual = true
[[object.function]] [[object.function]]
name = "new_from_template" name = "new_from_template"
# Builder # Builder
ignore = true manual = true
[[object.function]] [[object.function]]
name = "new_from_static_template" name = "new_from_static_template"
# Builder # Builder
ignore = true manual = true
[[object.function]] [[object.function]]
name = "query_duration" name = "query_duration"
# formatted value # formatted value
ignore = true manual = true
[[object.function]] [[object.function]]
name = "query_position" name = "query_position"
# formatted value # formatted value
ignore = true manual = true
[[object.function]] [[object.function]]
name = "query_convert" name = "query_convert"
# formatted value # formatted value
ignore = true manual = true
[[object.function]] [[object.function]]
name = "peer_query_duration" name = "peer_query_duration"
# formatted value # formatted value
ignore = true manual = true
[[object.function]] [[object.function]]
name = "peer_query_position" name = "peer_query_position"
# formatted value # formatted value
ignore = true manual = true
[[object.function]] [[object.function]]
name = "peer_query_convert" name = "peer_query_convert"
# formatted value # formatted value
ignore = true manual = true
[[object.function]] [[object.function]]
name = "link_get_name" name = "link_get_name"
# Wrong place # Wrong place
ignore = true manual = true
[[object.function]] [[object.function]]
pattern = "set_.*_function_full" pattern = "set_.*_function_full"
# More specific closure trait bounds possible # More specific closure trait bounds possible
ignore = true manual = true
[[object.function]] [[object.function]]
name = "start_task" name = "start_task"
# More specific closure trait bounds possible # More specific closure trait bounds possible
ignore = true manual = true
[[object.function]] [[object.function]]
name = "sticky_events_foreach" name = "sticky_events_foreach"
# Complex closure argument handling # Complex closure argument handling
ignore = true manual = true
[[object.function]] [[object.function]]
name = "add_probe" name = "add_probe"
# Complex closure argument handling # Complex closure argument handling
ignore = true manual = true
[[object.property]] [[object.property]]
name = "template" name = "template"
@ -1092,7 +1092,7 @@ final_type = true
[[object.function]] [[object.function]]
name = "new_from_static_pad_template_with_gtype" name = "new_from_static_pad_template_with_gtype"
# static pad template manual # static pad template manual
ignore = true manual = true
[[object]] [[object]]
name = "Gst.GhostPad" name = "Gst.GhostPad"
@ -1104,19 +1104,19 @@ status = "generate"
[[object.function]] [[object.function]]
name = "new" name = "new"
ignore = true manual = true
[[object.function]] [[object.function]]
name = "new_from_template" name = "new_from_template"
ignore = true manual = true
[[object.function]] [[object.function]]
name = "new_no_target" name = "new_no_target"
ignore = true manual = true
[[object.function]] [[object.function]]
name = "new_no_target_from_template" name = "new_no_target_from_template"
ignore = true manual = true
[[object.function]] [[object.function]]
name = "construct" name = "construct"
@ -1125,12 +1125,12 @@ status = "generate"
[[object.function]] [[object.function]]
name = "activate_mode_default" name = "activate_mode_default"
# wrong instance type # wrong instance type
ignore = true manual = true
[[object.function]] [[object.function]]
name = "internal_activate_mode_default" name = "internal_activate_mode_default"
# wrong instance type # wrong instance type
ignore = true manual = true
[[object]] [[object]]
name = "Gst.ProxyPad" name = "Gst.ProxyPad"
@ -1140,17 +1140,17 @@ manual_traits = ["ProxyPadExtManual"]
[[object.function]] [[object.function]]
name = "chain_default" name = "chain_default"
# Buffer move # Buffer move
ignore = true manual = true
[[object.function]] [[object.function]]
name = "chain_list_default" name = "chain_list_default"
# Buffer move # Buffer move
ignore = true manual = true
[[object.function]] [[object.function]]
name = "getrange_default" name = "getrange_default"
# Buffer move # Buffer move
ignore = true manual = true
[[object]] [[object]]
name = "Gst.Stream" name = "Gst.Stream"
@ -1159,7 +1159,7 @@ final_type = true
[[object.function]] [[object.function]]
name = "new" name = "new"
# Work-around for 1.14 switch from transfer-floating to transfer-full # Work-around for 1.14 switch from transfer-floating to transfer-full
ignore = true manual = true
[[object.property]] [[object.property]]
name = "caps" name = "caps"
@ -1188,12 +1188,12 @@ final_type = true
[[object.function]] [[object.function]]
name = "new" name = "new"
# Work-around for 1.14 switch from transfer-floating to transfer-full # Work-around for 1.14 switch from transfer-floating to transfer-full
ignore = true manual = true
[[object.function]] [[object.function]]
name = "add_stream" name = "add_stream"
# Ignore return value which is always `true` # Ignore return value which is always `true`
ignore = true manual = true
[[object.property]] [[object.property]]
name = "upstream-id" name = "upstream-id"
@ -1218,12 +1218,12 @@ final_type = true
[[object.function]] [[object.function]]
name = "set_cache_data" name = "set_cache_data"
# pass by value # pass by value
ignore = true manual = true
[[object.function]] [[object.function]]
name = "get_cache_data" name = "get_cache_data"
# structure ref # structure ref
ignore = true manual = true
[[object.function]] [[object.function]]
name = "get_description" name = "get_description"
@ -1284,11 +1284,11 @@ manual_traits = ["PluginFeatureExtManual"]
[[object.function]] [[object.function]]
name = "get_rank" name = "get_rank"
ignore = true manual = true
[[object.function]] [[object.function]]
name = "set_rank" name = "set_rank"
ignore = true manual = true
[[object.function]] [[object.function]]
name = "load" name = "load"
@ -1331,27 +1331,27 @@ manual_traits = ["BufferPoolExtManual"]
[[object.function]] [[object.function]]
name = "get_config" name = "get_config"
# A different type # A different type
ignore = true manual = true
[[object.function]] [[object.function]]
name = "set_config" name = "set_config"
# Takes ownership # Takes ownership
ignore = true manual = true
[[object.function]] [[object.function]]
name = "acquire_buffer" name = "acquire_buffer"
# Params and return value # Params and return value
ignore = true manual = true
[[object.function]] [[object.function]]
name = "release_buffer" name = "release_buffer"
# Takes ownership # Takes ownership
ignore = true manual = true
[[object.function]] [[object.function]]
name = "new" name = "new"
# Work-around for 1.14 switch from transfer-floating to transfer-full # Work-around for 1.14 switch from transfer-floating to transfer-full
ignore = true manual = true
[[object.function]] [[object.function]]
name = "set_active" name = "set_active"
@ -1808,7 +1808,7 @@ generate_builder = true
rename = "get_value" rename = "get_value"
[[object.function]] [[object.function]]
name = "control_source_get_value_array" name = "control_source_get_value_array"
ignore = true manual = true
[[object]] [[object]]
@ -1818,4 +1818,4 @@ manual_traits = ["ControlBindingExtManual"]
generate_builder = true generate_builder = true
[[object.function]] [[object.function]]
name = "get_g_value_array" name = "get_g_value_array"
ignore = true manual = true

View file

@ -217,7 +217,7 @@ pub fn parse_launchv(argv: &[&str]) -> Result<Element, glib::Error> {
// unsafe { TODO: call gst_sys:gst_tracing_get_active_tracers() } // unsafe { TODO: call gst_sys:gst_tracing_get_active_tracers() }
//} //}
//pub fn tracing_register_hook<P: FnOnce() + 'static>(tracer: /*Ignored*/&Tracer, detail: &str, func: P) { //pub fn tracing_register_hook<P: FnOnce() + Send + Sync + 'static>(tracer: /*Ignored*/&Tracer, detail: &str, func: P) {
// unsafe { TODO: call gst_sys:gst_tracing_register_hook() } // unsafe { TODO: call gst_sys:gst_tracing_register_hook() }
//} //}

View file

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 7670e3d) Generated by gir (https://github.com/gtk-rs/gir @ cea2f7c)
from gir-files (https://github.com/gtk-rs/gir-files @ a5a578a9) from gir-files (https://github.com/gtk-rs/gir-files @ 1b238c84)