1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-25 04:38:01 +00:00
mpv/player
wm4 ccb1c0bec4 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-05-17 22:42:01 +02:00
..
javascript js: use new hooks API (match f60826c3) 2018-04-07 16:02:20 -07:00
lua ytdl_hook: fix mp4_dash with init fragment 2019-01-14 18:59:14 +01:00
audio.c build: make encoding mode non-optional 2018-05-03 01:08:44 +03:00
client.c player: make playback termination asynchronous 2018-05-24 19:56:35 +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-05-17 22:42:01 +02:00
command.h command: add a way to abort asynchronous commands 2018-05-24 19:56:34 +02:00
configfiles.c demux, stream: remove unneeded crap (esp. optical discs and Linux TV) 2018-08-31 13:53:43 +02:00
core.h demux, stream: rip out the classic stream cache 2018-08-31 12:55:22 +02:00
external_files.c player: get rid of mpv_global.opts 2018-05-24 19:56:35 +02:00
external_files.h player: get rid of mpv_global.opts 2018-05-24 19:56:35 +02:00
javascript.c js: use new hooks API (match f60826c3) 2018-04-07 16:02:20 -07:00
loadfile.c player: don't print "Playing:" message if there's only 1 file 2019-05-16 17:20:24 +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() 2018-10-02 19:59:22 +02:00
osd.c demux: simplify API for returning cache status 2018-09-07 22:26:48 +02:00
playloop.c playloop: update cache properties in idle state 2019-05-17 21:59:52 +02:00
screenshot.c command: add a way to abort asynchronous commands 2018-05-24 19:56:34 +02:00
screenshot.h command: move screenshot command stubs to screenshot.c 2018-05-24 19:56:34 +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-01-11 11:02:23 +01:00