mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 00:02:13 +00:00
manpage: lua: fix example
Oops.
This commit is contained in:
parent
01717dcd2c
commit
aca6ec1394
@ -22,8 +22,8 @@ A script which leaves fullscreen mode when the player is paused:
|
||||
|
||||
::
|
||||
|
||||
function on_pause(name, value)
|
||||
if pause == true then
|
||||
function on_pause_change(name, value)
|
||||
if value == true then
|
||||
mp.set_property("fullscreen", "no")
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user