1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-14 22:42:34 +02:00

Fix incorrect platform check

This commit is contained in:
Elias Steurer 2021-11-09 10:30:44 +01:00
parent fbb4d80817
commit c15920ea1d

View File

@ -18,7 +18,7 @@ Rectangle {
Wallpaper.terminate()
}
// macOS only supports h264 via the native Qt MM
if (Qt.platform === "osx" && (Wallpaper.videoCodec === VideoCodec.VP8
if (Qt.platform.os === "osx" && (Wallpaper.videoCodec === VideoCodec.VP8
|| Wallpaper.videoCodec === VideoCodec.VP9)) {
loader.source = "qrc:/ScreenPlayWallpaper/qml/MultimediaWebView.qml"
} else {