mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 11:01:10 +00:00
Gir.toml: use TryFromGlib::Option for ClockTime
This commit is contained in:
parent
dc763501ae
commit
532af96ef9
13 changed files with 428 additions and 23 deletions
|
@ -217,4 +217,4 @@ ref_mode = "ref"
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "Gst.ClockTime"
|
name = "Gst.ClockTime"
|
||||||
status = "manual"
|
status = "manual"
|
||||||
conversion_type = "scalar"
|
conversion_type = "Option"
|
||||||
|
|
|
@ -27,7 +27,6 @@ generate = [
|
||||||
"GstAudio.StreamVolumeFormat",
|
"GstAudio.StreamVolumeFormat",
|
||||||
"GstAudio.AudioSink",
|
"GstAudio.AudioSink",
|
||||||
"GstAudio.AudioSrc",
|
"GstAudio.AudioSrc",
|
||||||
"GstAudio.AudioBaseSink",
|
|
||||||
"GstAudio.AudioBaseSrc",
|
"GstAudio.AudioBaseSrc",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -69,7 +68,33 @@ ref_mode = "ref"
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "Gst.ClockTime"
|
name = "Gst.ClockTime"
|
||||||
status = "manual"
|
status = "manual"
|
||||||
conversion_type = "scalar"
|
conversion_type = "Option"
|
||||||
|
|
||||||
|
[[object]]
|
||||||
|
name = "GstAudio.AudioBaseSink"
|
||||||
|
status = "generate"
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "get_alignment_threshold"
|
||||||
|
[object.function.return]
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "get_discont_wait"
|
||||||
|
[object.function.return]
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "set_alignment_threshold"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "alignment_threshold"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "set_discont_wait"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "discont_wait"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "GstAudio.AudioBuffer"
|
name = "GstAudio.AudioBuffer"
|
||||||
|
@ -191,6 +216,43 @@ status = "generate"
|
||||||
# bool does not signal error
|
# bool does not signal error
|
||||||
manual = true
|
manual = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
pattern = "get_.*"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "align"
|
||||||
|
const = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "new"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "alignment_threshold"
|
||||||
|
mandatory = true
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "discont_wait"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "get_alignment_threshold"
|
||||||
|
[object.function.return]
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "get_discont_wait"
|
||||||
|
[object.function.return]
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "set_alignment_threshold"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "alignment_threshold"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "set_discont_wait"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "discont_wait"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "GstAudio.AudioDecoder"
|
name = "GstAudio.AudioDecoder"
|
||||||
status = "generate"
|
status = "generate"
|
||||||
|
@ -204,10 +266,38 @@ manual_traits = ["AudioDecoderExtManual"]
|
||||||
name = "finish_subframe"
|
name = "finish_subframe"
|
||||||
manual = true
|
manual = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "get_latency"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "min"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "get_min_latency"
|
||||||
|
[object.function.return]
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "get_tolerance"
|
||||||
|
[object.function.return]
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "negotiate"
|
name = "negotiate"
|
||||||
manual = true
|
manual = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "set_latency"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "min"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "set_min_latency"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "num"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "set_output_caps"
|
name = "set_output_caps"
|
||||||
manual = true
|
manual = true
|
||||||
|
@ -216,6 +306,12 @@ manual_traits = ["AudioDecoderExtManual"]
|
||||||
name = "set_output_format"
|
name = "set_output_format"
|
||||||
manual = true
|
manual = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "set_tolerance"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "tolerance"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "get_allocator"
|
name = "get_allocator"
|
||||||
manual = true
|
manual = true
|
||||||
|
@ -253,13 +349,32 @@ manual_traits = ["AudioEncoderExtManual"]
|
||||||
|
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "get_latency"
|
name = "get_latency"
|
||||||
manual = true
|
[[object.function.parameter]]
|
||||||
|
name = "min"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "get_tolerance"
|
||||||
|
[object.function.return]
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "proxy_getcaps"
|
name = "proxy_getcaps"
|
||||||
[object.function.return]
|
[object.function.return]
|
||||||
nullable = false
|
nullable = false
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "set_latency"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "min"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "set_tolerance"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "tolerance"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "allocate_output_buffer"
|
name = "allocate_output_buffer"
|
||||||
[object.function.return]
|
[object.function.return]
|
||||||
|
|
|
@ -118,6 +118,21 @@ name = "GstBase.BaseSink"
|
||||||
status = "generate"
|
status = "generate"
|
||||||
manual_traits = ["BaseSinkExtManual"]
|
manual_traits = ["BaseSinkExtManual"]
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "get_latency"
|
||||||
|
[object.function.return]
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "get_processing_deadline"
|
||||||
|
[object.function.return]
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "get_render_delay"
|
||||||
|
[object.function.return]
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "query_latency"
|
name = "query_latency"
|
||||||
# Use Result
|
# Use Result
|
||||||
|
@ -157,6 +172,24 @@ manual_traits = ["BaseSinkExtManual"]
|
||||||
name = "get_drop_out_of_segment"
|
name = "get_drop_out_of_segment"
|
||||||
rename = "drops_out_of_segment"
|
rename = "drops_out_of_segment"
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "set_processing_deadline"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "processing_deadline"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "set_render_delay"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "delay"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "wait_clock"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "time"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "GstBase.BaseSrc"
|
name = "GstBase.BaseSrc"
|
||||||
status = "generate"
|
status = "generate"
|
||||||
|
@ -195,6 +228,12 @@ manual_traits = ["BaseTransformExtManual"]
|
||||||
name = "get_allocator"
|
name = "get_allocator"
|
||||||
manual = true
|
manual = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "update_qos"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "timestamp"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "update_src_caps"
|
name = "update_src_caps"
|
||||||
[object.function.return]
|
[object.function.return]
|
||||||
|
@ -239,6 +278,12 @@ manual_traits = ["AggregatorExtManual"]
|
||||||
# Info parameter
|
# Info parameter
|
||||||
manual = true
|
manual = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "set_latency"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "min_latency"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
[[object.property]]
|
[[object.property]]
|
||||||
name = "latency"
|
name = "latency"
|
||||||
version = "1.14"
|
version = "1.14"
|
||||||
|
@ -328,7 +373,7 @@ ref_mode = "ref"
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "Gst.ClockTime"
|
name = "Gst.ClockTime"
|
||||||
status = "manual"
|
status = "manual"
|
||||||
conversion_type = "scalar"
|
conversion_type = "Option"
|
||||||
|
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "Gst.TagList"
|
name = "Gst.TagList"
|
||||||
|
@ -339,6 +384,12 @@ ref_mode = "ref"
|
||||||
name = "GstBase.BaseParse"
|
name = "GstBase.BaseParse"
|
||||||
status = "generate"
|
status = "generate"
|
||||||
manual_traits = ["BaseParseExtManual"]
|
manual_traits = ["BaseParseExtManual"]
|
||||||
|
[[object.function]]
|
||||||
|
name = "add_index_entry"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "ts"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "finish_frame"
|
name = "finish_frame"
|
||||||
manual = true
|
manual = true
|
||||||
|
@ -347,6 +398,12 @@ manual_traits = ["BaseParseExtManual"]
|
||||||
name = "set_duration"
|
name = "set_duration"
|
||||||
manual = true
|
manual = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "set_latency"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "min_latency"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "convert_default"
|
name = "convert_default"
|
||||||
manual = true
|
manual = true
|
||||||
|
|
|
@ -60,12 +60,29 @@ status = "manual"
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "Gst.ClockTime"
|
name = "Gst.ClockTime"
|
||||||
status = "manual"
|
status = "manual"
|
||||||
conversion_type = "scalar"
|
conversion_type = "Option"
|
||||||
|
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "GstCheck.TestClock"
|
name = "GstCheck.TestClock"
|
||||||
status = "generate"
|
status = "generate"
|
||||||
final_type = true
|
final_type = true
|
||||||
|
[[object.function]]
|
||||||
|
name = "get_next_entry_time"
|
||||||
|
[object.function.return]
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "new_with_start_time"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "start_time"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "set_time"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "new_time"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "has_id"
|
name = "has_id"
|
||||||
manual = true
|
manual = true
|
||||||
|
|
|
@ -21,7 +21,6 @@ generate = [
|
||||||
"GstController.InterpolationControlSource",
|
"GstController.InterpolationControlSource",
|
||||||
"GstController.LFOControlSource",
|
"GstController.LFOControlSource",
|
||||||
"GstController.ProxyControlBinding",
|
"GstController.ProxyControlBinding",
|
||||||
"GstController.TimedValueControlSource",
|
|
||||||
"GstController.TriggerControlSource",
|
"GstController.TriggerControlSource",
|
||||||
"GstController.DirectControlBindingConvertValue",
|
"GstController.DirectControlBindingConvertValue",
|
||||||
"GstController.DirectControlBindingConvertGValue",
|
"GstController.DirectControlBindingConvertGValue",
|
||||||
|
@ -39,5 +38,21 @@ manual = [
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "Gst.ClockTime"
|
name = "Gst.ClockTime"
|
||||||
status = "manual"
|
status = "manual"
|
||||||
conversion_type = "scalar"
|
conversion_type = "Option"
|
||||||
|
|
||||||
|
|
||||||
|
[[object]]
|
||||||
|
name = "GstController.TimedValueControlSource"
|
||||||
|
status = "generate"
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "set"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "timestamp"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "unset"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "timestamp"
|
||||||
|
mandatory = true
|
||||||
|
|
|
@ -94,7 +94,7 @@ ref_mode = "ref"
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "Gst.ClockTime"
|
name = "Gst.ClockTime"
|
||||||
status = "manual"
|
status = "manual"
|
||||||
conversion_type = "scalar"
|
conversion_type = "Option"
|
||||||
|
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "GES.BaseEffect"
|
name = "GES.BaseEffect"
|
||||||
|
@ -130,6 +130,17 @@ status = "generate"
|
||||||
[object.function.return]
|
[object.function.return]
|
||||||
nullable = false
|
nullable = false
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "get_duration"
|
||||||
|
[object.function.return]
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "get_frame_at"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "timestamp"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "load_from_uri"
|
name = "load_from_uri"
|
||||||
[object.function.return]
|
[object.function.return]
|
||||||
|
@ -155,6 +166,12 @@ status = "generate"
|
||||||
[object.function.return]
|
[object.function.return]
|
||||||
bool_return_is_error = "Failed to move layer"
|
bool_return_is_error = "Failed to move layer"
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "paste_element"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "position"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "remove_track"
|
name = "remove_track"
|
||||||
[object.function.return]
|
[object.function.return]
|
||||||
|
@ -233,6 +250,11 @@ status = "generate"
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "GES.Clip"
|
name = "GES.Clip"
|
||||||
status = "generate"
|
status = "generate"
|
||||||
|
[[object.function]]
|
||||||
|
name = "get_duration_limit"
|
||||||
|
[object.function.return]
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "move_to_layer"
|
name = "move_to_layer"
|
||||||
[object.function.return]
|
[object.function.return]
|
||||||
|
@ -290,6 +312,11 @@ status = "generate"
|
||||||
[object.function.return]
|
[object.function.return]
|
||||||
bool_return_is_error = "Failed to add clip"
|
bool_return_is_error = "Failed to add clip"
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "get_duration"
|
||||||
|
[object.function.return]
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "remove_clip"
|
name = "remove_clip"
|
||||||
[object.function.return]
|
[object.function.return]
|
||||||
|
@ -317,26 +344,57 @@ status = "generate"
|
||||||
name = "GES.TimelineElement"
|
name = "GES.TimelineElement"
|
||||||
status = "generate"
|
status = "generate"
|
||||||
manual_traits = ["TimelineElementExtManual"]
|
manual_traits = ["TimelineElementExtManual"]
|
||||||
|
[[object.function]]
|
||||||
|
name = "get_duration"
|
||||||
|
[object.function.return]
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "paste"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "paste_position"
|
||||||
|
mandatory = true
|
||||||
|
[object.function.return]
|
||||||
|
nullable_return_is_error = "Failed to paste timeline element"
|
||||||
|
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "ripple"
|
name = "ripple"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "start"
|
||||||
|
mandatory = true
|
||||||
[object.function.return]
|
[object.function.return]
|
||||||
bool_return_is_error = "Failed to ripple"
|
bool_return_is_error = "Failed to ripple"
|
||||||
|
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "ripple_end"
|
name = "ripple_end"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "end"
|
||||||
|
mandatory = true
|
||||||
[object.function.return]
|
[object.function.return]
|
||||||
bool_return_is_error = "Failed to ripple"
|
bool_return_is_error = "Failed to ripple"
|
||||||
|
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "roll_end"
|
name = "roll_end"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "end"
|
||||||
|
mandatory = true
|
||||||
[object.function.return]
|
[object.function.return]
|
||||||
bool_return_is_error = "Failed to roll"
|
bool_return_is_error = "Failed to roll"
|
||||||
|
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "roll_start"
|
name = "roll_start"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "start"
|
||||||
|
mandatory = true
|
||||||
[object.function.return]
|
[object.function.return]
|
||||||
bool_return_is_error = "Failed to roll"
|
bool_return_is_error = "Failed to roll"
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "set_inpoint"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "inpoint"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "set_name"
|
name = "set_name"
|
||||||
[object.function.return]
|
[object.function.return]
|
||||||
|
@ -359,6 +417,9 @@ manual_traits = ["TimelineElementExtManual"]
|
||||||
|
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "trim"
|
name = "trim"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "start"
|
||||||
|
mandatory = true
|
||||||
[object.function.return]
|
[object.function.return]
|
||||||
bool_return_is_error = "Failed to trim"
|
bool_return_is_error = "Failed to trim"
|
||||||
|
|
||||||
|
@ -367,11 +428,6 @@ manual_traits = ["TimelineElementExtManual"]
|
||||||
[object.function.return]
|
[object.function.return]
|
||||||
nullable_return_is_error = "Failed to copy timeline element"
|
nullable_return_is_error = "Failed to copy timeline element"
|
||||||
|
|
||||||
[[object.function]]
|
|
||||||
name = "paste"
|
|
||||||
[object.function.return]
|
|
||||||
nullable_return_is_error = "Failed to paste timeline element"
|
|
||||||
|
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "GES.TrackElement"
|
name = "GES.TrackElement"
|
||||||
status = "generate"
|
status = "generate"
|
||||||
|
|
|
@ -32,7 +32,7 @@ manual = [
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "Gst.ClockTime"
|
name = "Gst.ClockTime"
|
||||||
status = "manual"
|
status = "manual"
|
||||||
conversion_type = "scalar"
|
conversion_type = "Option"
|
||||||
|
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "GstNet.NtpClock"
|
name = "GstNet.NtpClock"
|
||||||
|
|
|
@ -71,7 +71,7 @@ ref_mode = "ref"
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "Gst.ClockTime"
|
name = "Gst.ClockTime"
|
||||||
status = "manual"
|
status = "manual"
|
||||||
conversion_type = "scalar"
|
conversion_type = "Option"
|
||||||
|
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "GstPbutils.Discoverer"
|
name = "GstPbutils.Discoverer"
|
||||||
|
@ -83,6 +83,12 @@ final_type = true
|
||||||
[object.function.return]
|
[object.function.return]
|
||||||
bool_return_is_error = "Failed to add URI to list of discovers"
|
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
|
# Manually implemented to use ClockTime
|
||||||
[[object.property]]
|
[[object.property]]
|
||||||
name = "timeout"
|
name = "timeout"
|
||||||
|
|
|
@ -90,6 +90,12 @@ final_type = true
|
||||||
[object.function.return]
|
[object.function.return]
|
||||||
nullable = false
|
nullable = false
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "seek"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "position"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "set_audio_track"
|
name = "set_audio_track"
|
||||||
[object.function.return]
|
[object.function.return]
|
||||||
|
@ -256,4 +262,4 @@ final_type = true
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "Gst.ClockTime"
|
name = "Gst.ClockTime"
|
||||||
status = "manual"
|
status = "manual"
|
||||||
conversion_type = "scalar"
|
conversion_type = "Option"
|
||||||
|
|
|
@ -121,7 +121,7 @@ ref_mode = "ref"
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "Gst.ClockTime"
|
name = "Gst.ClockTime"
|
||||||
status = "manual"
|
status = "manual"
|
||||||
conversion_type = "scalar"
|
conversion_type = "Option"
|
||||||
|
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "GstRtspServer.RTSPServer"
|
name = "GstRtspServer.RTSPServer"
|
||||||
|
|
|
@ -51,7 +51,7 @@ version = "1.12"
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "Gst.ClockTime"
|
name = "Gst.ClockTime"
|
||||||
status = "manual"
|
status = "manual"
|
||||||
conversion_type = "scalar"
|
conversion_type = "Option"
|
||||||
|
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "Gst.Caps"
|
name = "Gst.Caps"
|
||||||
|
|
|
@ -75,7 +75,7 @@ manual = [
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "Gst.ClockTime"
|
name = "Gst.ClockTime"
|
||||||
status = "manual"
|
status = "manual"
|
||||||
conversion_type = "scalar"
|
conversion_type = "Option"
|
||||||
|
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "Gst.Caps"
|
name = "Gst.Caps"
|
||||||
|
|
|
@ -254,7 +254,7 @@ manual_traits = ["ChildProxyExtManual"]
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "Gst.ClockTime"
|
name = "Gst.ClockTime"
|
||||||
status = "manual"
|
status = "manual"
|
||||||
conversion_type = "scalar"
|
conversion_type = "Option"
|
||||||
|
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "Gst.ClockFlags"
|
name = "Gst.ClockFlags"
|
||||||
|
@ -646,6 +646,16 @@ ref_mode = "ref"
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "Gst.Pipeline"
|
name = "Gst.Pipeline"
|
||||||
status = "generate"
|
status = "generate"
|
||||||
|
[[object.function]]
|
||||||
|
name = "get_delay"
|
||||||
|
[object.function.return]
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "set_delay"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "delay"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "Gst.Promise"
|
name = "Gst.Promise"
|
||||||
|
@ -686,11 +696,101 @@ manual_traits = ["ClockExtManual"]
|
||||||
name = "single_shot_id_reinit"
|
name = "single_shot_id_reinit"
|
||||||
manual = true
|
manual = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "add_observation"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "slave"
|
||||||
|
mandatory = true
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "master"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "add_observation_unapplied"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "slave"
|
||||||
|
mandatory = true
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "master"
|
||||||
|
mandatory = true
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "internal"
|
||||||
|
mandatory = true
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "external"
|
||||||
|
mandatory = true
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "rate_num"
|
||||||
|
mandatory = true
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "rate_denom"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "adjust_unlocked"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "internal"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "get_calibration"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "internal"
|
||||||
|
mandatory = true
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "external"
|
||||||
|
mandatory = true
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "rate_num"
|
||||||
|
mandatory = true
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "rate_denom"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "get_internal_time"
|
||||||
|
[object.function.return]
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "get_resolution"
|
||||||
|
[object.function.return]
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "set_calibration"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "internal"
|
||||||
|
mandatory = true
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "external"
|
||||||
|
mandatory = true
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "rate_num"
|
||||||
|
mandatory = true
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "rate_denom"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "set_master"
|
name = "set_master"
|
||||||
[object.function.return]
|
[object.function.return]
|
||||||
bool_return_is_error = "Failed to set master clock"
|
bool_return_is_error = "Failed to set master clock"
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "set_resolution"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "resolution"
|
||||||
|
mandatory = true
|
||||||
|
[object.function.return]
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "unadjust_unlocked"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "external"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "wait_for_sync"
|
name = "wait_for_sync"
|
||||||
[object.function.return]
|
[object.function.return]
|
||||||
|
@ -739,6 +839,12 @@ manual_traits = ["ElementExtManual"]
|
||||||
# more specific closure type possible
|
# more specific closure type possible
|
||||||
manual = true
|
manual = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "set_base_time"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "time"
|
||||||
|
mandatory = 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
|
||||||
|
@ -1033,18 +1139,27 @@ trait_name = "GstObjectExt"
|
||||||
|
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "sync_values"
|
name = "sync_values"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "timestamp"
|
||||||
|
mandatory = true
|
||||||
[object.function.return]
|
[object.function.return]
|
||||||
bool_return_is_error = "Failed to sync values"
|
bool_return_is_error = "Failed to sync values"
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "value"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "timestamp"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "get_g_value_array"
|
name = "get_g_value_array"
|
||||||
ignore = true
|
ignore = true
|
||||||
|
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "add_control_binding"
|
name = "add_control_binding"
|
||||||
[object.function.return]
|
[object.function.return]
|
||||||
bool_return_is_error = "Failed to add control binding"
|
bool_return_is_error = "Failed to add control binding"
|
||||||
|
|
||||||
|
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "Gst.ObjectFlags"
|
name = "Gst.ObjectFlags"
|
||||||
status = "generate"
|
status = "generate"
|
||||||
|
@ -1841,6 +1956,9 @@ status = "generate"
|
||||||
name = "util_get_timestamp"
|
name = "util_get_timestamp"
|
||||||
# can be called before gst_init()
|
# can be called before gst_init()
|
||||||
assertion = "skip"
|
assertion = "skip"
|
||||||
|
[object.function.return]
|
||||||
|
# always returns a value
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "version"
|
name = "version"
|
||||||
|
@ -2028,11 +2146,14 @@ generate_builder = true
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "control_source_get_value"
|
name = "control_source_get_value"
|
||||||
rename = "value"
|
rename = "value"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "timestamp"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "control_source_get_value_array"
|
name = "control_source_get_value_array"
|
||||||
manual = true
|
manual = true
|
||||||
|
|
||||||
|
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "Gst.ControlBinding"
|
name = "Gst.ControlBinding"
|
||||||
status = "generate"
|
status = "generate"
|
||||||
|
@ -2041,3 +2162,15 @@ generate_builder = true
|
||||||
[[object.function]]
|
[[object.function]]
|
||||||
name = "get_g_value_array"
|
name = "get_g_value_array"
|
||||||
manual = true
|
manual = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "get_value"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "timestamp"
|
||||||
|
mandatory = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "sync_values"
|
||||||
|
[[object.function.parameter]]
|
||||||
|
name = "timestamp"
|
||||||
|
mandatory = true
|
||||||
|
|
Loading…
Reference in a new issue