From 4362c5fd1589e560dbbea10103031a17298d981c Mon Sep 17 00:00:00 2001 From: Brenno Date: Mon, 17 May 2021 11:38:24 -0300 Subject: [PATCH] Included AVresample outside if statement Small reversion on @ferdync changes because the if statement is not working on my setup --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 00870d3a3..c14e84b73 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -290,7 +290,7 @@ mark_as_advanced(QT_VERSION_STR) # Find FFmpeg libraries (used for video encoding / decoding) find_package(FFmpeg REQUIRED COMPONENTS avcodec avformat avutil swscale) -set(all_comps avcodec avformat avutil swscale) +set(all_comps avcodec avformat avutil swscale avresample) if(TARGET FFmpeg::swresample) list(APPEND all_comps swresample) else()