1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-25 12:13:00 +01:00

Add 6.5 beta 3 loop lag workaround for windows

This commit is contained in:
Elias Steurer 2023-03-02 13:22:26 +01:00
parent 580c95036e
commit 2b0c959609

View File

@ -25,7 +25,11 @@ Q_IMPORT_QML_PLUGIN(ScreenPlayWeatherPlugin)
int main(int argc, char* argv[])
{
#if !defined(Q_OS_LINUX)
#if defined(Q_OS_WIN)
qputenv("QT_MEDIA_BACKEND", "windows"); // Workaround for Qt 6.5 looping lag bug https://bugreports.qt.io/browse/QTBUG-111209
#endif
#if defined(Q_OS_OSX)
qputenv("QT_MEDIA_BACKEND", "ffmpeg");
#endif