summaryrefslogtreecommitdiffstats
path: root/stream/stream.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-01-26 18:24:53 +0100
committerwm4 <wm4@nowhere>2017-01-26 18:24:53 +0100
commitabc6d130ace804bfa333955ff2cd402d927959c6 (patch)
tree1b7aba8831e99e438855f776bfa412e3b3e5d7bf /stream/stream.c
parent60452f640fd405133ebf6f7ba773b0e25071fcf1 (diff)
downloadmpv-abc6d130ace804bfa333955ff2cd402d927959c6.tar.bz2
mpv-abc6d130ace804bfa333955ff2cd402d927959c6.tar.xz
command: shorten long playlists on OSD
A hacky, convoluted, half-working mess that attempts to cut off overlong playlists. It does so by relying on the ASS formatting rule that the font size is specified in the virtual PlayResY resolution. This means we can (normally) easily tell how many lines fit on the screen. On the other hand, this does not work if the text is wrapped. This as a kludge until a Betterâ„¢ solution is available.
Diffstat (limited to 'stream/stream.c')
0 files changed, 0 insertions, 0 deletions