1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 10:02:17 +00:00
mpv/player
wm4 8a58355a23 command: put seek ranges at the end of output
This is a minor benign hack that reorders the MPV_FORMAT_NODE output.
The order of members is not supposed to matter, but it's how the OSD
renders them as raw output. Normally this isn't used, but
demuxer-cache-state is a "prominent" case. Moving the seek ranges to the
end avoids that the more important other fields are not cut off by going
out of the screen on the bottom.

Also output the seek ranges in reverse. The order doesn't matter either
(as declared by input.rst). Currently, the demuxer orders them by least
recent use. Reversing it makes the most recently used range (the current
range) show up on top.

In other words, this commit does basically nothing but fudge stuff in a
cosmetic way to make debugging easier for me, and you've wasted your
time reading this commit message and the diff. Good.
2019-09-19 20:37:04 +02:00
..
javascript js: expose mpv_abort_async_command() (match dbe831bd) 2019-09-11 21:08:04 +03:00
lua demux_edl, cue, mkv: clean up timeline stuff slightly 2019-09-19 20:37:04 +02:00
audio.c audio: increase a buffer size 2018-10-31 09:20:26 +01:00
client.c client: fix potential mpv_cmd/async leak 2019-07-08 16:42:47 +02:00
client.h command: add infrastructure for async commands 2018-05-24 19:56:34 +02:00
command.c command: put seek ranges at the end of output 2019-09-19 20:37:04 +02:00
command.h command: add a way to abort asynchronous commands 2018-05-24 19:56:34 +02:00
configfiles.c Remove optical disc fancification layers 2019-09-13 17:31:59 +02:00
core.h Merge commit '559a400ac36e75a8d73ba263fd7fa6736df1c2da' into wm4-commits--merge-edition 2018-12-05 19:19:24 +01:00
external_files.c external_files: add .lrc subtitle extension 2019-09-02 01:25:43 +03:00
external_files.h player: get rid of mpv_global.opts 2018-05-24 19:56:35 +02:00
javascript.c js: expose mpv_abort_async_command() (match dbe831bd) 2019-09-11 21:08:04 +03:00
loadfile.c player: don't print "Playing:" message if there's only 1 file 2019-09-19 20:37:04 +02:00
lua.c lua: expose mpv_abort_async_command() 2018-05-24 19:56:34 +02:00
main.c player: get rid of mpv_global.opts 2018-05-24 19:56:35 +02:00
misc.c stream: redo buffer handling and allow arbitrary size for stream_peek() 2019-09-19 20:37:04 +02:00
osd.c demux: simplify API for returning cache status 2019-09-19 20:37:04 +02:00
playloop.c playloop: update cache properties in idle state 2019-09-19 20:37:04 +02:00
screenshot.c image_writer: move convert_image() to player/screenshot.c 2019-09-14 23:02:39 +02:00
screenshot.h image_writer: move convert_image() to player/screenshot.c 2019-09-14 23:02:39 +02:00
scripting.c scripting: change when/how player waits for scripts being loaded 2018-04-18 01:17:41 +03:00
sub.c player: don't cache subtitles across deselection 2018-06-30 17:15:29 +02:00
video.c video: fix player not exiting if no video frame was rendered 2019-09-19 20:37:04 +02:00