summaryrefslogtreecommitdiffstats
path: root/externals/ffmpeg/CMakeLists.txt
diff options
context:
space:
mode:
authorDanila Malyutin <d.maljutin@yandex.ru>2023-05-13 23:35:01 +0200
committerDanila Malyutin <d.maljutin@yandex.ru>2023-05-21 23:43:44 +0200
commit7701a00a0277ad59c1b743b9aa14c6861624b847 (patch)
tree9214202ee896671be1301d0993931a74686955e5 /externals/ffmpeg/CMakeLists.txt
parentMerge pull request #10392 from danilaml/update-cubeb-again (diff)
downloadyuzu-7701a00a0277ad59c1b743b9aa14c6861624b847.tar
yuzu-7701a00a0277ad59c1b743b9aa14c6861624b847.tar.gz
yuzu-7701a00a0277ad59c1b743b9aa14c6861624b847.tar.bz2
yuzu-7701a00a0277ad59c1b743b9aa14c6861624b847.tar.lz
yuzu-7701a00a0277ad59c1b743b9aa14c6861624b847.tar.xz
yuzu-7701a00a0277ad59c1b743b9aa14c6861624b847.tar.zst
yuzu-7701a00a0277ad59c1b743b9aa14c6861624b847.zip
Diffstat (limited to '')
-rw-r--r--externals/ffmpeg/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/externals/ffmpeg/CMakeLists.txt b/externals/ffmpeg/CMakeLists.txt
index 0baac8e17..03fad0778 100644
--- a/externals/ffmpeg/CMakeLists.txt
+++ b/externals/ffmpeg/CMakeLists.txt
@@ -131,7 +131,6 @@ if (NOT WIN32)
COMMAND
/bin/bash ${FFmpeg_PREFIX}/configure
--disable-avdevice
- --disable-avfilter
--disable-avformat
--disable-doc
--disable-everything
@@ -143,6 +142,7 @@ if (NOT WIN32)
--enable-decoder=h264
--enable-decoder=vp8
--enable-decoder=vp9
+ --enable-filter=yadif
--cc="${FFmpeg_CC}"
--cxx="${FFmpeg_CXX}"
${FFmpeg_HWACCEL_FLAGS}
@@ -199,7 +199,7 @@ if (NOT WIN32)
endif()
else(WIN32)
# Use yuzu FFmpeg binaries
- set(FFmpeg_EXT_NAME "ffmpeg-4.4")
+ set(FFmpeg_EXT_NAME "ffmpeg-5.1.3")
set(FFmpeg_PATH "${CMAKE_BINARY_DIR}/externals/${FFmpeg_EXT_NAME}")
download_bundled_external("ffmpeg/" ${FFmpeg_EXT_NAME} "")
set(FFmpeg_FOUND YES)
@@ -210,6 +210,7 @@ else(WIN32)
set(FFmpeg_LIBRARIES
${FFmpeg_LIBRARY_DIR}/swscale.lib
${FFmpeg_LIBRARY_DIR}/avcodec.lib
+ ${FFmpeg_LIBRARY_DIR}/avfilter.lib
${FFmpeg_LIBRARY_DIR}/avutil.lib
CACHE PATH "Paths to FFmpeg libraries" FORCE)
# exported variables