diff options
author | wm4 <wm4@nowhere> | 2013-06-15 17:14:14 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-06-15 18:36:16 +0200 |
commit | b04ce5471182b8deff0867ed2a16c7c4749e94c2 (patch) | |
tree | 169f4bfe1a6d4c648573f17d429cc0307c3fae27 /video/out/vo_xv.c | |
parent | 0e2fb5d8e87768defdc49c025ffe74fc2ec3265b (diff) | |
download | mpv-b04ce5471182b8deff0867ed2a16c7c4749e94c2.tar.bz2 mpv-b04ce5471182b8deff0867ed2a16c7c4749e94c2.tar.xz |
vo_xv: always request redraw on resize
Fixes using panscan controls with OSD off and video paused.
Diffstat (limited to 'video/out/vo_xv.c')
-rw-r--r-- | video/out/vo_xv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/video/out/vo_xv.c b/video/out/vo_xv.c index 0f02310473..fd8901da80 100644 --- a/video/out/vo_xv.c +++ b/video/out/vo_xv.c @@ -477,6 +477,8 @@ static void resize(struct vo *vo) vo_x11_clear_background(vo, &ctx->dst_rect); xv_draw_colorkey(vo, &ctx->dst_rect); read_xv_csp(vo); + + vo->want_redraw = true; } /* @@ -945,10 +947,8 @@ static int control(struct vo *vo, uint32_t request, void *data) } int events = 0; int r = vo_x11_control(vo, &events, request, data); - if (events & (VO_EVENT_EXPOSE | VO_EVENT_RESIZE)) { + if (events & (VO_EVENT_EXPOSE | VO_EVENT_RESIZE)) resize(vo); - vo->want_redraw = true; - } return r; } |