Skip to content

Commit

Permalink
Included AVresample outside if statement
Browse files Browse the repository at this point in the history
Small reversion on @ferdync changes because the if statement is not working on my setup
  • Loading branch information
BrennoCaldato committed May 17, 2021
1 parent 466755e commit 4362c5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 4362c5f

Please sign in to comment.