core: Clean up OSD seek info logic
commit0f590fce191097887a81d0a6676cb0a943ce54e4
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Mon, 30 Mar 2009 00:13:17 +0000 (30 03:13 +0300)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Tue, 31 Mar 2009 16:15:08 +0000 (31 19:15 +0300)
tree96c5113754a72c72d6cf01255adaa061bfb76018
parent694c067e19dcbabe8f6121923fe628b9bfa6ac32
core: Clean up OSD seek info logic

Clean up the code and make the behavior more consistent. Before
bits of the OSD information were triggered in different places, and
various property commands that affect playback position only showed
the seek bar while the main seek command also triggered showing the
percentage in OSD text. Now only the seek and chapter commands trigger
all information and others nothing (which is consistent with most
property behavior).
command.c
mp_core.h
mplayer.c