mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-06 19:12:30 +01:00
Fix incorrect platform check
This commit is contained in:
parent
fbb4d80817
commit
c15920ea1d
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user