summaryrefslogtreecommitdiffstats
path: root/sub
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-07-30 21:07:54 +0200
committerwm4 <wm4@nowhere>2012-07-30 22:14:32 +0200
commit7cdfd2ba39cd1a69139d9a2c3788aa8865e37e7d (patch)
tree960eca2b6bce559f11e7f9db7af89c8b899e7ceb /sub
parent4f86c0a3a46a6f638b1446aa080a594040143ddf (diff)
downloadmpv-7cdfd2ba39cd1a69139d9a2c3788aa8865e37e7d.tar.bz2
mpv-7cdfd2ba39cd1a69139d9a2c3788aa8865e37e7d.tar.xz
mplayer: change how pause status is indicated in terminal
Pausing the player used to print the message "===== PAUSE =====". It also inserted a newline for some reason. When pausing and unpausing a lot, the terminal would be clobbered with "old" useless status lines. Remove the pause message, and display the status message instead. This looks better, doesn't fill up the terminal with crap, and needs less code. Side note: when cache is enabled, the status line is reprinted on every idle iteration to reflect possible cache changes. If the platform's WAKEUP_PERIOD is very small (like on Windows) and terminal output is slow (like on Windows), it's possible that this leads to a minor performance degradation. This is probably not a problem (and I don't care anyway), but maybe something that should be kept in mind. Disabling the status line with --quiet will help.
Diffstat (limited to 'sub')
0 files changed, 0 insertions, 0 deletions