[UI] MPV uses yes/no rather than true/false.
This commit is contained in:
parent
6c46849ed7
commit
e5f21a553f
|
@ -108,8 +108,8 @@ ApplicationWindow {
|
||||||
toggleFullscreen()
|
toggleFullscreen()
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (splitArg[1].length == 0) {
|
if (splitArg[1] == undefined || splitArg[1].length == 0) {
|
||||||
splitArg[1] = "true"
|
splitArg[1] = "yes"
|
||||||
}
|
}
|
||||||
player.setOption(splitArg[0], splitArg[1])
|
player.setOption(splitArg[0], splitArg[1])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue