diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-03-31 02:50:34 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-04-02 06:51:26 +0300 |
commit | 7db643095995ddf625af670f6e07a61bf25d3a94 (patch) | |
tree | 1ea4d45b3b1a2095b3a2aaa43f8f9df28417c1f8 /libvo/vo_gl2.c | |
parent | 861d6d2bd9b46c8644b7d8683d101157cd459927 (diff) | |
download | mpv-7db643095995ddf625af670f6e07a61bf25d3a94.tar.bz2 mpv-7db643095995ddf625af670f6e07a61bf25d3a94.tar.xz |
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.
Diffstat (limited to 'libvo/vo_gl2.c')
-rw-r--r-- | libvo/vo_gl2.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libvo/vo_gl2.c b/libvo/vo_gl2.c index 382994e318..c545165b29 100644 --- a/libvo/vo_gl2.c +++ b/libvo/vo_gl2.c @@ -622,8 +622,6 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin image_width = width; image_format = format; - int_pause = 0; - #ifdef CONFIG_GUI if (use_gui) { if (config_glx_gui(d_width, d_height) == -1) |