2017-08-01 12:36:39 +00:00
|
|
|
[options]
|
2021-04-12 09:42:41 +00:00
|
|
|
girs_directories = ["../gir-files", "../gst-gir-files"]
|
2017-08-01 12:36:39 +00:00
|
|
|
library = "GstPlayer"
|
|
|
|
version = "1.0"
|
2017-08-07 14:35:57 +00:00
|
|
|
min_cfg_version = "1.12"
|
2017-08-01 12:36:39 +00:00
|
|
|
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
|
2020-12-01 19:02:11 +00:00
|
|
|
trust_return_value_nullability = true
|
2017-08-01 12:36:39 +00:00
|
|
|
|
|
|
|
external_libraries = [
|
|
|
|
"GLib",
|
|
|
|
"GObject",
|
2017-12-30 13:31:43 +00:00
|
|
|
"Gst",
|
2017-08-01 12:36:39 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
generate = [
|
|
|
|
"GstPlayer.PlayerColorBalanceType",
|
|
|
|
"GstPlayer.PlayerError",
|
2020-12-01 19:02:11 +00:00
|
|
|
"GstPlayer.PlayerMediaInfo",
|
2017-08-01 12:36:39 +00:00
|
|
|
"GstPlayer.PlayerSignalDispatcher",
|
|
|
|
"GstPlayer.PlayerSnapshotFormat",
|
|
|
|
"GstPlayer.PlayerState",
|
2020-12-01 19:02:11 +00:00
|
|
|
"GstPlayer.PlayerStreamInfo",
|
2017-08-01 12:36:39 +00:00
|
|
|
"GstPlayer.PlayerVideoRenderer",
|
|
|
|
"GstPlayer.PlayerVisualization",
|
|
|
|
]
|
|
|
|
|
|
|
|
manual = [
|
|
|
|
"GLib.Error",
|
|
|
|
"GLib.MainContext",
|
|
|
|
"GObject.Object",
|
2017-12-30 13:31:43 +00:00
|
|
|
"Gst.Object",
|
2017-08-01 12:36:39 +00:00
|
|
|
"Gst.Element",
|
2017-12-16 09:18:00 +00:00
|
|
|
"GstVideo.VideoMultiviewFlags",
|
|
|
|
"GstVideo.VideoMultiviewFramePacking",
|
2017-08-01 12:36:39 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "Gst.Caps"
|
|
|
|
status = "manual"
|
|
|
|
ref_mode = "ref"
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "Gst.TagList"
|
|
|
|
status = "manual"
|
|
|
|
ref_mode = "ref"
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "Gst.Sample"
|
|
|
|
status = "manual"
|
|
|
|
ref_mode = "ref"
|
2017-08-07 14:35:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "Gst.Structure"
|
|
|
|
status = "manual"
|
2021-05-28 12:58:49 +00:00
|
|
|
ref_mode = "ref"
|
2017-08-07 14:35:57 +00:00
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "GstPlayer.Player"
|
|
|
|
status = "generate"
|
2019-01-21 20:00:48 +00:00
|
|
|
final_type = true
|
2017-08-07 14:35:57 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "visualizations_free"
|
|
|
|
# correct mutability
|
|
|
|
ignore = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_config"
|
2017-12-16 09:18:00 +00:00
|
|
|
# Custom type
|
2020-11-04 17:56:26 +00:00
|
|
|
manual = true
|
2017-08-07 14:35:57 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "new"
|
|
|
|
ignore = true
|
|
|
|
|
2017-12-16 09:18:00 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "get_config"
|
|
|
|
# Custom type
|
2020-11-04 17:56:26 +00:00
|
|
|
manual = true
|
2017-12-16 09:18:00 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
pattern = "config_.*"
|
|
|
|
# Custom type
|
|
|
|
ignore = true
|
|
|
|
|
2021-04-04 14:17:35 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "seek"
|
|
|
|
[[object.function.parameter]]
|
|
|
|
name = "position"
|
|
|
|
mandatory = true
|
|
|
|
|
2017-12-16 09:18:00 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "set_audio_track"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to set audio track"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_subtitle_track"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to set subtitle track"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_video_track"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to set video track"
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_visualization"
|
|
|
|
[object.function.return]
|
|
|
|
bool_return_is_error = "Failed to set visualization"
|
|
|
|
|
2017-08-07 14:35:57 +00:00
|
|
|
[[object.signal]]
|
|
|
|
name = "buffering"
|
|
|
|
concurrency = "send"
|
|
|
|
|
|
|
|
[[object.signal]]
|
|
|
|
name = "duration-changed"
|
|
|
|
concurrency = "send"
|
2017-12-10 10:13:17 +00:00
|
|
|
# Pass ClockTime instead of u64
|
2020-11-04 17:56:26 +00:00
|
|
|
manual = true
|
2017-08-07 14:35:57 +00:00
|
|
|
|
|
|
|
[[object.signal]]
|
|
|
|
name = "end-of-stream"
|
|
|
|
concurrency = "send"
|
|
|
|
|
|
|
|
[[object.signal]]
|
|
|
|
name = "error"
|
|
|
|
concurrency = "send"
|
|
|
|
|
|
|
|
[[object.signal]]
|
|
|
|
name = "media-info-updated"
|
|
|
|
concurrency = "send"
|
|
|
|
|
|
|
|
[[object.signal]]
|
|
|
|
name = "mute-changed"
|
|
|
|
concurrency = "send"
|
|
|
|
|
|
|
|
[[object.signal]]
|
2017-12-10 10:13:17 +00:00
|
|
|
name = "position-updated"
|
2017-08-07 14:35:57 +00:00
|
|
|
concurrency = "send"
|
2017-12-10 10:13:17 +00:00
|
|
|
# Pass ClockTime instead of u64
|
2020-11-04 17:56:26 +00:00
|
|
|
manual = true
|
2017-08-07 14:35:57 +00:00
|
|
|
|
|
|
|
[[object.signal]]
|
|
|
|
name = "seek-done"
|
|
|
|
concurrency = "send"
|
2017-12-10 10:13:17 +00:00
|
|
|
# Pass ClockTime instead of u64
|
2020-11-04 17:56:26 +00:00
|
|
|
manual = true
|
2017-08-07 14:35:57 +00:00
|
|
|
|
|
|
|
[[object.signal]]
|
|
|
|
name = "state-changed"
|
|
|
|
concurrency = "send"
|
|
|
|
|
|
|
|
[[object.signal]]
|
|
|
|
name = "uri-loaded"
|
|
|
|
concurrency = "send"
|
|
|
|
|
|
|
|
[[object.signal]]
|
|
|
|
name = "video-dimensions-changed"
|
|
|
|
concurrency = "send"
|
|
|
|
|
|
|
|
[[object.signal]]
|
|
|
|
name = "volume-changed"
|
|
|
|
concurrency = "send"
|
|
|
|
|
|
|
|
[[object.signal]]
|
|
|
|
name = "warning"
|
|
|
|
concurrency = "send"
|
2017-08-17 11:50:25 +00:00
|
|
|
|
2019-04-23 15:47:13 +00:00
|
|
|
[[object.property]]
|
|
|
|
name = "subtitle-video-offset"
|
|
|
|
version = "1.16"
|
2017-12-16 09:18:00 +00:00
|
|
|
|
2017-08-17 11:50:25 +00:00
|
|
|
[[object]]
|
|
|
|
name = "GstPlayer.PlayerAudioInfo"
|
|
|
|
status = "generate"
|
2019-01-21 20:00:48 +00:00
|
|
|
final_type = true
|
2017-08-17 11:50:25 +00:00
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "GstPlayer.PlayerVideoInfo"
|
|
|
|
status = "generate"
|
2019-01-21 20:00:48 +00:00
|
|
|
final_type = true
|
2017-08-17 11:50:25 +00:00
|
|
|
|
2017-12-16 09:18:00 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "get_framerate"
|
|
|
|
# Fraction
|
2020-11-04 17:56:26 +00:00
|
|
|
manual = true
|
2017-12-16 09:18:00 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_pixel_aspect_ratio"
|
|
|
|
# Fraction
|
2020-11-04 17:56:26 +00:00
|
|
|
manual = true
|
2017-12-16 09:18:00 +00:00
|
|
|
|
2017-08-17 11:50:25 +00:00
|
|
|
[[object]]
|
|
|
|
name = "GstPlayer.PlayerSubtitleInfo"
|
|
|
|
status = "generate"
|
2019-01-21 20:00:48 +00:00
|
|
|
final_type = true
|
2017-08-17 11:50:25 +00:00
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "GstPlayer.PlayerVideoOverlayVideoRenderer"
|
|
|
|
status = "generate"
|
2019-01-21 20:00:48 +00:00
|
|
|
final_type = true
|
2017-08-17 11:50:25 +00:00
|
|
|
|
2021-06-01 09:35:51 +00:00
|
|
|
[[object.function]]
|
|
|
|
name = "new"
|
|
|
|
manual = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "new_with_sink"
|
|
|
|
# with_handle_and_sink() also calls this.
|
|
|
|
rename = "with_sink"
|
|
|
|
manual = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "get_window_handle"
|
|
|
|
manual = true
|
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "set_window_handle"
|
|
|
|
manual = true
|
|
|
|
|
2017-08-17 11:50:25 +00:00
|
|
|
[[object]]
|
|
|
|
name = "GstPlayer.PlayerGMainContextSignalDispatcher"
|
|
|
|
status = "generate"
|
2019-01-21 20:00:48 +00:00
|
|
|
final_type = true
|
2017-09-10 11:20:35 +00:00
|
|
|
|
|
|
|
[[object.function]]
|
|
|
|
name = "new"
|
|
|
|
# Wrong return value
|
|
|
|
ignore = true
|
2017-11-11 10:21:55 +00:00
|
|
|
|
|
|
|
[[object]]
|
|
|
|
name = "Gst.ClockTime"
|
|
|
|
status = "manual"
|
2021-04-04 14:17:35 +00:00
|
|
|
conversion_type = "Option"
|