diff options
author | wm4 <wm4@nowhere> | 2013-03-01 11:15:44 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-03-01 11:15:44 +0100 |
commit | 6b3d510165201e5600e9ec25c37f33541c03f58a (patch) | |
tree | ea039183d050461ae4fec499b83ede1d4663d8d2 /video/out/vo_sdl.c | |
parent | bf9b9c3bd0d0fe9d9116cbe287559bad5efe00fc (diff) | |
download | mpv-6b3d510165201e5600e9ec25c37f33541c03f58a.tar.bz2 mpv-6b3d510165201e5600e9ec25c37f33541c03f58a.tar.xz |
vo_sdl, vo_xv: remove redundant/useless VOCTRL_PAUSE usage
Diffstat (limited to 'video/out/vo_sdl.c')
-rw-r--r-- | video/out/vo_sdl.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/video/out/vo_sdl.c b/video/out/vo_sdl.c index 99829aefa6..69ecf273c0 100644 --- a/video/out/vo_sdl.c +++ b/video/out/vo_sdl.c @@ -177,7 +177,6 @@ struct priv { struct mp_rect src_rect; struct mp_rect dst_rect; struct mp_osd_res osd_res; - int int_pause; struct formatmap_entry osd_format; struct osd_bitmap_surface { int bitmap_id; @@ -980,15 +979,10 @@ static int get_eq(struct vo *vo, const char *name, int *value) static int control(struct vo *vo, uint32_t request, void *data) { - struct priv *vc = vo->priv; switch (request) { case VOCTRL_FULLSCREEN: set_fullscreen(vo, !vo_fs); return 1; - case VOCTRL_PAUSE: - return vc->int_pause = 1; - case VOCTRL_RESUME: - return vc->int_pause = 0; case VOCTRL_REDRAW_FRAME: draw_image(vo, NULL); return 1; |