From 7db643095995ddf625af670f6e07a61bf25d3a94 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Tue, 31 Mar 2009 02:50:34 +0300 Subject: 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_vdpau.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libvo/vo_vdpau.c') diff --git a/libvo/vo_vdpau.c b/libvo/vo_vdpau.c index 085dfb4156..c920c0cd8d 100644 --- a/libvo/vo_vdpau.c +++ b/libvo/vo_vdpau.c @@ -480,7 +480,6 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, image_format = format; - int_pause = 0; visible_buf = 0; #ifdef CONFIG_GUI -- cgit v1.2.3