Update OSD while paused
commit02efad79a28345e5814af1b60e0bb3c40cb5a941
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Mon, 1 Dec 2008 17:53:57 +0000 (1 19:53 +0200)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Tue, 9 Dec 2008 02:31:07 +0000 (9 04:31 +0200)
tree83c164e897ed46b24701f8190412d2883f085ba2
parent95f35c4d205daafe4797f28d7ec79f3ebb1952a1
Update OSD while paused

When OSD contents change while paused, try to change the OSD drawn in
the currently visible frame. If such OSD updates are not supported
then advance by one frame and draw the OSD normally. Add some support
for OSD redrawing to vo xv.

The new xv code makes a copy of the original frame contents before
drawing the OSD if MPlayer is already paused when the frame is drawn.
If such a copy of the current frame exists then the frame contents can
be restored and a different OSD drawn on top of the same frame.
command.c
libmpcodecs/dec_video.c
libmpcodecs/dec_video.h
libmpcodecs/vf.h
libmpcodecs/vf_expand.c
libmpcodecs/vf_vo.c
libvo/video_out.h
libvo/vo_xv.c
mp_core.h
mplayer.c