VO: Don't reset pause status in VO config() functions
commit7db643095995ddf625af670f6e07a61bf25d3a94
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Mon, 30 Mar 2009 23:50:34 +0000 (31 02:50 +0300)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Thu, 2 Apr 2009 03:51:26 +0000 (2 06:51 +0300)
tree1ea4d45b3b1a2095b3a2aaa43f8f9df28417c1f8
parent861d6d2bd9b46c8644b7d8683d101157cd459927
VO: Don't reset pause status in VO config() functions

Many VOs kept track of pause status, but reset the value when their
config() function was called. However it can be called while playback
stays in pause mode. Modify the VOs to not change anything in
config(). Also send the VO either VOCTRL_PAUSE or VOCTRL_RESUME when
the playback of a new file is starting to make sure they have the
right status.
libvo/vo_gl.c
libvo/vo_gl2.c
libvo/vo_vdpau.c
libvo/vo_x11.c
libvo/vo_xv.c
mplayer.c