Split into ffmpeg and gstreamer implementations
This commit is contained in:
parent
52b9439ca4
commit
17ce907f28
11 changed files with 1761 additions and 1245 deletions
12
Cargo.toml
12
Cargo.toml
|
|
@ -5,11 +5,12 @@ edition = "2021"
|
|||
|
||||
[dependencies]
|
||||
cpal = "0.15"
|
||||
ffmpeg-next = "6"
|
||||
ffmpeg-next = { version = "6", optional = true }
|
||||
lazy_static = "1"
|
||||
paste = "1"
|
||||
serde = { version = "1", features = ["serde_derive"] }
|
||||
tokio = "1"
|
||||
url = "2"
|
||||
# Internationalization
|
||||
i18n-embed = { version = "0.13", features = ["fluent-system", "desktop-requester"] }
|
||||
i18n-embed-fl = "0.6"
|
||||
|
|
@ -19,6 +20,11 @@ env_logger = "0.10"
|
|||
log = "0.4"
|
||||
lexopt = "0.3"
|
||||
|
||||
[dependencies.iced_video_player]
|
||||
git = "https://github.com/jackpot51/iced_video_player.git"
|
||||
branch = "cosmic"
|
||||
optional = true
|
||||
|
||||
[dependencies.libcosmic]
|
||||
git = "https://github.com/pop-os/libcosmic.git"
|
||||
default-features = false
|
||||
|
|
@ -30,7 +36,9 @@ version = "0.2.1"
|
|||
features = ["serde"]
|
||||
|
||||
[features]
|
||||
default = ["wgpu"]
|
||||
default = ["gstreamer", "wgpu"]
|
||||
ffmpeg = ["dep:ffmpeg-next"]
|
||||
gstreamer = ["dep:iced_video_player", "wgpu"]
|
||||
wgpu = ["libcosmic/wgpu"]
|
||||
|
||||
[profile.release-with-debug]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue