mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
Disable ffmpeg openh264 codec
This commit is contained in:
5
thirdparty/ffmpeg/xmake.lua
vendored
5
thirdparty/ffmpeg/xmake.lua
vendored
@@ -42,14 +42,15 @@ package("ffmpeg")
|
|||||||
add_configs("vdpau", {description = "Enable vdpau library.", default = false, type = "boolean"})
|
add_configs("vdpau", {description = "Enable vdpau library.", default = false, type = "boolean"})
|
||||||
add_configs("hardcoded-tables", {description = "Enable hardcoded tables.", default = true, type = "boolean"})
|
add_configs("hardcoded-tables", {description = "Enable hardcoded tables.", default = true, type = "boolean"})
|
||||||
add_configs("asm", {description = "Enable asm", default = false, type = "boolean"})
|
add_configs("asm", {description = "Enable asm", default = false, type = "boolean"})
|
||||||
add_configs("libopenh264", {description = "Enable libopenh264", default = true, type = "boolean"})
|
add_configs("libopenh264", {description = "Enable libopenh264", default = false, type = "boolean"})
|
||||||
end
|
end
|
||||||
|
|
||||||
add_links("avfilter", "avdevice", "avformat", "avcodec", "swscale", "swresample", "avutil")
|
add_links("avfilter", "avdevice", "avformat", "avcodec", "swscale", "swresample", "avutil")
|
||||||
if is_plat("macosx") then
|
if is_plat("macosx") then
|
||||||
add_frameworks("CoreFoundation", "Foundation", "CoreVideo", "CoreMedia", "AudioToolbox", "VideoToolbox", "Security")
|
add_frameworks("CoreFoundation", "Foundation", "CoreVideo", "CoreMedia", "AudioToolbox", "VideoToolbox", "Security")
|
||||||
elseif is_plat("linux") then
|
elseif is_plat("linux") then
|
||||||
add_syslinks("pthread", "openh264")
|
-- add_syslinks("pthread", "openh264")
|
||||||
|
add_syslinks("pthread")
|
||||||
end
|
end
|
||||||
|
|
||||||
if is_plat("linux", "macosx") then
|
if is_plat("linux", "macosx") then
|
||||||
|
|||||||
2
thirdparty/projectx
vendored
2
thirdparty/projectx
vendored
Submodule thirdparty/projectx updated: 079ceddae7...3eef1f8d84
Reference in New Issue
Block a user