core: print pause status message only once on console
commit5489d0e89a1ed40d585134e7e5161eb92228e349
authorwm4 <wm4@mplayer2.org>
Fri, 6 Jan 2012 18:32:03 +0000 (6 19:32 +0100)
committerUoti Urpala <uau@mplayer2.org>
Tue, 10 Jan 2012 02:28:27 +0000 (10 04:28 +0200)
tree9c1850ea3c5f005c32550995481181495d20dcc1
parentb51e1d427eae6c3604e669f220d81516ff833787
core: print pause status message only once on console

Since the recent OSD redraw changes, every GUI expose event causes the
message "=====  PAUSE  =====" to be printed on console. This was a bit
annoying, so change it so that it is only printed once when going into
paused mode. It's also printed again if the cache status changes (when
playing URLs), or when the status line is printed during pause mode (when
you seek while paused).

This also removes some minor code duplication.
mp_core.h
mplayer.c