From 9f51eb72a0e05bbd9e06c7efd9ee70054dcea19e Mon Sep 17 00:00:00 2001 From: Albert Esteve Date: Tue, 10 Jun 2025 13:45:55 +0200 Subject: [PATCH] device/ffmpeg-decode: media crate in Cargo.toml In order to add the latest published virtio-media crate and "virtio-media-ffmpeg-decoder" as dependencies simoultaneously, the latter cannot rely on the upstream folder in its Cargo.toml. Otherwise, the `VirtioDecoderBackend` will differ and the package using them will fail to build. Instead, just use the published crate in crates.io to be consistent. Signed-off-by: Albert Esteve --- extras/ffmpeg-decoder/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/ffmpeg-decoder/Cargo.toml b/extras/ffmpeg-decoder/Cargo.toml index af48aa8..9d8b2bc 100644 --- a/extras/ffmpeg-decoder/Cargo.toml +++ b/extras/ffmpeg-decoder/Cargo.toml @@ -10,7 +10,7 @@ libc = "0.2.155" log = "0.4.20" nix = { version = "0.28", features = ["fs", "mman"] } thiserror = "1.0" -virtio-media = { path = "../../device" } +virtio-media = { version = "0.0.7" } [build-dependencies] bindgen = "0.70.1"