hwcodec: linux compatible

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2022-07-07 20:55:19 +08:00
parent d65c486b27
commit 1fecd7168a
3 changed files with 5 additions and 2 deletions

View File

@@ -50,5 +50,5 @@ gstreamer = { version = "0.16", optional = true }
gstreamer-app = { version = "0.16", features = ["v1_10"], optional = true }
gstreamer-video = { version = "0.16", optional = true }
[target.'cfg(target_os = "windows")'.dependencies]
[target.'cfg(any(target_os = "windows", target_os = "linux"))'.dependencies]
hwcodec = { git = "https://github.com/21pages/hwcodec", optional = true }