summaryrefslogtreecommitdiffstats
path: root/demux
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-05-17 22:40:01 +0200
committerwm4 <wm4@nowhere>2019-09-19 20:37:04 +0200
commit8a58355a23ec85ff5b33196ccc6d31d660d2805f (patch)
tree8cd46c9bacda2d9a1c4d040d173c8b8431814c47 /demux
parent455c0855388f87de3e358f185835f50fac33d887 (diff)
downloadmpv-8a58355a23ec85ff5b33196ccc6d31d660d2805f.tar.bz2
mpv-8a58355a23ec85ff5b33196ccc6d31d660d2805f.tar.xz
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.
Diffstat (limited to 'demux')
0 files changed, 0 insertions, 0 deletions