- mpv 0.32.0-821-g38275338ee built on Sun Nov 22 17:00:03 +08 2020
- shinchiro
- Windows 10
Description
Assuming:
local ov = mp.create_osd_overlay('ass-events')
Updating the ov.data and calling ov:update() during pause event on windows will be ignored and not update the overlay.
Reproduction steps
I've isolated the bug into this script: https://0x0.st/i7mf.lua
It renders a pause indicator when playback is paused.
- install the script
- open any video on windows
- spam pause
Most of the time, the indicator won't be rendered when video is paused.
In my tests, at least 40ms delay is needed before calling ov:update() for it to render consistently, but that might differ for others.
Log file
https://0x0.st/i7mW.txt
Description
Assuming:
Updating the
ov.dataand callingov:update()during pause event on windows will be ignored and not update the overlay.Reproduction steps
I've isolated the bug into this script: https://0x0.st/i7mf.lua
It renders a pause indicator when playback is paused.
Most of the time, the indicator won't be rendered when video is paused.
In my tests, at least 40ms delay is needed before calling
ov:update()for it to render consistently, but that might differ for others.Log file
https://0x0.st/i7mW.txt