mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-12-23 08:36:31 +00:00
c39c0c7264
And also implement a FormatValue type that holds a value together with its format to make usage of the positions/durations/seek positions/etc more convenient and safe. Fixes https://github.com/sdroege/gstreamer-rs/issues/3
164 lines
2.8 KiB
TOML
164 lines
2.8 KiB
TOML
[options]
|
|
girs_dir = "gir-files"
|
|
library = "GstPlayer"
|
|
version = "1.0"
|
|
min_cfg_version = "1.12"
|
|
target_path = "gstreamer-player"
|
|
work_mode = "normal"
|
|
concurrency = "send+sync"
|
|
generate_safety_asserts = true
|
|
|
|
external_libraries = [
|
|
"GLib",
|
|
"GObject",
|
|
]
|
|
|
|
generate = [
|
|
"GstPlayer.PlayerColorBalanceType",
|
|
"GstPlayer.PlayerError",
|
|
"GstPlayer.PlayerSignalDispatcher",
|
|
"GstPlayer.PlayerSnapshotFormat",
|
|
"GstPlayer.PlayerState",
|
|
"GstPlayer.PlayerStreamInfo",
|
|
"GstPlayer.PlayerVideoRenderer",
|
|
"GstPlayer.PlayerVisualization",
|
|
]
|
|
|
|
manual = [
|
|
"GLib.Error",
|
|
"GLib.MainContext",
|
|
"GObject.Object",
|
|
"Gst.Element",
|
|
]
|
|
|
|
[[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"
|
|
|
|
|
|
[[object]]
|
|
name = "Gst.Structure"
|
|
status = "manual"
|
|
ref_mode = "ref-mut"
|
|
|
|
[[object]]
|
|
name = "GstPlayer.Player"
|
|
status = "generate"
|
|
trait = false
|
|
|
|
[[object.function]]
|
|
name = "visualizations_free"
|
|
# correct mutability
|
|
ignore = true
|
|
|
|
[[object.function]]
|
|
name = "set_config"
|
|
# Pass by value
|
|
ignore = true
|
|
|
|
[[object.function]]
|
|
name = "new"
|
|
ignore = true
|
|
|
|
[[object.signal]]
|
|
name = "buffering"
|
|
concurrency = "send"
|
|
|
|
[[object.signal]]
|
|
name = "duration-changed"
|
|
concurrency = "send"
|
|
|
|
[[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]]
|
|
name = "position-changed"
|
|
concurrency = "send"
|
|
|
|
[[object.signal]]
|
|
name = "seek-done"
|
|
concurrency = "send"
|
|
|
|
[[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"
|
|
|
|
[[object]]
|
|
name = "GstPlayer.PlayerAudioInfo"
|
|
status = "generate"
|
|
trait = false
|
|
|
|
[[object]]
|
|
name = "GstPlayer.PlayerVideoInfo"
|
|
status = "generate"
|
|
trait = false
|
|
|
|
[[object]]
|
|
name = "GstPlayer.PlayerSubtitleInfo"
|
|
status = "generate"
|
|
trait = false
|
|
|
|
[[object]]
|
|
name = "GstPlayer.PlayerMediaInfo"
|
|
status = "generate"
|
|
trait = false
|
|
|
|
[[object]]
|
|
name = "GstPlayer.PlayerVideoOverlayVideoRenderer"
|
|
status = "generate"
|
|
trait = false
|
|
|
|
[[object]]
|
|
name = "GstPlayer.PlayerGMainContextSignalDispatcher"
|
|
status = "generate"
|
|
trait = false
|
|
|
|
[[object.function]]
|
|
name = "new"
|
|
# Wrong return value
|
|
ignore = true
|
|
|
|
[[object]]
|
|
name = "Gst.ClockTime"
|
|
status = "manual"
|
|
conversion_type = "scalar"
|