Support screen capture on MacOS

This commit is contained in:
dijunkun
2023-12-01 16:54:17 +08:00
parent 97bed80088
commit 5febe99bc2
12 changed files with 689 additions and 111 deletions

View File

@@ -45,7 +45,7 @@ package("ffmpeg")
add_configs("libopenh264", {description = "Enable libopenh264", default = false, type = "boolean"})
end
add_links("avfilter", "avdevice", "avformat", "avcodec", "swscale", "swresample", "avutil")
add_links("avfilter", "avdevice", "avformat", "avcodec", "swscale", "swresample", "avutil", "postproc")
if is_plat("macosx") then
add_frameworks("CoreFoundation", "Foundation", "CoreVideo", "CoreMedia", "AudioToolbox", "VideoToolbox", "Security")
elseif is_plat("linux") then