testffmpeg: added support for YUVA formats using swscale

Fixes https://github.com/libsdl-org/SDL/issues/8377
This commit is contained in:
Sam Lantinga
2023-10-12 14:08:46 -07:00
parent ac71831350
commit 516d6f9efc
2 changed files with 62 additions and 8 deletions

View File

@@ -185,6 +185,7 @@ if(HAVE_LIBUDEV_H)
add_definitions(-DHAVE_LIBUDEV_H)
endif()
set(FFmpeg_FIND_COMPONENTS AVCODEC AVFORMAT AVUTIL SWSCALE)
include("${SDL3_SOURCE_DIR}/cmake/FindFFmpeg.cmake")
if(FFmpeg_FOUND)
cmake_push_check_state()