Add software fallback for YUV444 using libswscale

This commit is contained in:
Cameron Gutman
2024-08-19 19:20:17 -05:00
parent ea724a05a6
commit 5765c254cd
7 changed files with 157 additions and 38 deletions
+3 -3
View File
@@ -73,7 +73,7 @@ unix:if(!macx|disable-prebuilts) {
!disable-ffmpeg {
packagesExist(libavcodec) {
PKGCONFIG += libavcodec libavutil
PKGCONFIG += libavcodec libavutil libswscale
CONFIG += ffmpeg
!disable-libva {
@@ -148,7 +148,7 @@ unix:if(!macx|disable-prebuilts) {
}
}
win32 {
LIBS += -llibssl -llibcrypto -lSDL2 -lSDL2_ttf -lavcodec -lavutil -lopus -ldxgi -ld3d11
LIBS += -llibssl -llibcrypto -lSDL2 -lSDL2_ttf -lavcodec -lavutil -lswscale -lopus -ldxgi -ld3d11
CONFIG += ffmpeg
contains(QT_ARCH, x86_64) {
LIBS += -llibplacebo
@@ -160,7 +160,7 @@ win32:!winrt {
}
macx {
!disable-prebuilts {
LIBS += -lssl -lcrypto -lavcodec.61 -lavutil.59 -lopus -framework SDL2 -framework SDL2_ttf
LIBS += -lssl -lcrypto -lavcodec.61 -lavutil.59 -lswscale.8 -lopus -framework SDL2 -framework SDL2_ttf
CONFIG += discord-rpc
}