mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-17 06:50:45 +08:00
osc.lua: don't reinit on duration changes
It can be avoided by extracting just the code to update the seekbar and its chapter markers. This avoids log spam and is more efficient for DVD and Blu-ray menus which continously update duration and have chapter markers. The livemarkers option is removed since updating the chapter markers is no longer expensive like reiniting.
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
remove `osc-livemarkers` script-opt because chapter markers are now updated
|
||||
without reiniting the OSC
|
||||
Reference in New Issue
Block a user