diff options
author | wm4 <wm4@mplayer2.org> | 2012-02-25 13:49:29 +0100 |
---|---|---|
committer | wm4 <wm4@mplayer2.org> | 2012-02-25 13:49:29 +0100 |
commit | 3022129d85785fa0095e3bbf8df24988a21b1ee9 (patch) | |
tree | 91202cc792d96183e4200e4e1f0270f6115a057f /osdep/getch2.c | |
parent | 93d4dd46bf9c77bf097f26d52d0e1dfa913258c9 (diff) | |
download | mpv-3022129d85785fa0095e3bbf8df24988a21b1ee9.tar.bz2 mpv-3022129d85785fa0095e3bbf8df24988a21b1ee9.tar.xz |
osd: clear terminal OSD line with mp_msg() instead of printf
If mplayer is started with -msglevel cplayer=-1, there can't be any
terminal OSD output, but the terminal line was still cleared
unconditionally. Fix this by using mp_msg(), which will throw away the
output to clear the terminal if disabled.
Fixes #154.
Diffstat (limited to 'osdep/getch2.c')
0 files changed, 0 insertions, 0 deletions