From 1994edfeb63bc1851d8ff7fa1d53359a678623b3 Mon Sep 17 00:00:00 2001 From: ameerj <52414509+ameerj@users.noreply.github.com> Date: Fri, 12 Nov 2021 17:41:07 -0500 Subject: [PATCH] CMake: Enable VP8 ffmpeg decoders --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index eb403205ce..7d7813bb43 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -600,6 +600,7 @@ if (YUZU_USE_BUNDLED_FFMPEG) ${LIBVA_LIBRARIES}) set(FFmpeg_HWACCEL_FLAGS --enable-hwaccel=h264_vaapi + --enable-hwaccel=vp8_vaapi --enable-hwaccel=vp9_vaapi --enable-libdrm) list(APPEND FFmpeg_HWACCEL_INCLUDE_DIRS @@ -620,6 +621,7 @@ if (YUZU_USE_BUNDLED_FFMPEG) --enable-ffnvcodec --enable-nvdec --enable-hwaccel=h264_nvdec + --enable-hwaccel=vp8_nvdec --enable-hwaccel=vp9_nvdec --extra-cflags=-I${CUDA_INCLUDE_DIRS} ) @@ -670,6 +672,7 @@ if (YUZU_USE_BUNDLED_FFMPEG) --disable-postproc --disable-swresample --enable-decoder=h264 + --enable-decoder=vp8 --enable-decoder=vp9 --cc="${CMAKE_C_COMPILER}" --cxx="${CMAKE_CXX_COMPILER}"