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_xv.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_xv.c')
-rw-r--r-- | video/out/vo_xv.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/video/out/vo_xv.c b/video/out/vo_xv.c index e98af7350e..cb22e960a1 100644 --- a/video/out/vo_xv.c +++ b/video/out/vo_xv.c @@ -93,7 +93,6 @@ struct xvctx { uint32_t image_height; uint32_t image_format; struct mp_csp_details cached_csp; - int is_paused; struct mp_rect src_rect; struct mp_rect dst_rect; uint32_t max_width, max_height; // zero means: not set @@ -936,10 +935,6 @@ static int control(struct vo *vo, uint32_t request, void *data) { struct xvctx *ctx = vo->priv; switch (request) { - case VOCTRL_PAUSE: - return (ctx->is_paused = 1); - case VOCTRL_RESUME: - return (ctx->is_paused = 0); case VOCTRL_GET_PANSCAN: return VO_TRUE; case VOCTRL_FULLSCREEN: |