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:
Guido Cella
2026-05-20 23:05:42 +02:00
committed by Dudemanguy
parent 715d2b7cf2
commit 02491a3949
3 changed files with 100 additions and 106 deletions
@@ -0,0 +1,2 @@
remove `osc-livemarkers` script-opt because chapter markers are now updated
without reiniting the OSC