1
0
mirror of https://github.com/mpv-player/mpv synced 2025-04-11 04:01:31 +00:00
mpv/DOCS/man
Sagnac 96b246d928 osc: update chapter marker positions when duration changes
Commit 6abb7e3 updates the markers when the chapters change, but it
doesn't update their relative position at the bar when the duration
changes.

This means that adding chapters to a live stream would result in
corresponding chapter markers which were static while the duration
changed and thus their positions became incorrect over time until the
OSC was reinitialized.

This is fixed by observing the duration property if chapters are present
and reinitializing the OSC when the duration changes.

The live_markers user option, which determines whether the duration
property is observed when there are chapters, has been added in order to
allow disabling this behaviour as calling request_init() frequently
might have some impact on low-end systems.

The impact of request_init() on render() was measured to increase from
1-1.5 ms to 2-3 ms on a 2010 MacBook Air, while the impact was neglible
on a 2016 Surface Book (increasing only to an average of 1.4 ms from
1.3 ms for n=1500 render cycles).

The live_markers option is enabled by default.
2021-06-16 02:04:28 +03:00
..
af.rst audio: add scaletempo2 filter based on chromium 2020-07-27 00:57:22 +02:00
ao.rst ao_oss: add this audio output again 2021-03-15 12:42:35 +01:00
changes.rst manpage: directly link interface-changes.rst in changelog section 2020-02-21 14:34:02 +01:00
console.rst console: use wl-paste on Wayland 2020-12-14 22:43:34 +00:00
encode.rst manpage: explain deprecated usage of multiple items with *-add 2020-01-07 18:13:12 +01:00
input.rst manpage: mention cover-art-auto 2021-05-28 16:10:48 +00:00
ipc.rst scripting: make socket FD number for subprocesses dynamic 2020-05-15 16:37:41 +02:00
javascript.rst js: add mp.utils.append_file 2021-06-13 22:53:37 +03:00
libmpv.rst DOCS: fix cplugins information in libmpv.rst. 2021-02-12 23:25:08 +02:00
lua.rst DOCS/lua.rst: fix docs for utils.file_info 2021-05-03 13:25:21 +03:00
mpv.rst DOCS: mpv.rst: minor escaping clarifications 2021-04-23 22:45:21 +03:00
options.rst vo_gpu: vulkan: implement a VkDisplayKHR backed context 2021-06-11 09:54:16 -07:00
osc.rst osc: update chapter marker positions when duration changes 2021-06-16 02:04:28 +03:00
stats.rst js: report scripts CPU/memory usage statistics 2020-11-15 20:36:04 +02:00
vf.rst docs: Fix an old style parameter reference 2021-01-20 01:15:36 +02:00
vo.rst manpage: rename OS X references to macOS 2021-01-03 12:05:30 -05:00