Mercurial > mplayer.hg
changeset 36232:598767b14852
Remove some unused code that has no effect.
author | reimar |
---|---|
date | Sun, 09 Jun 2013 22:35:47 +0000 |
parents | b5d3d146ecbe |
children | e5bd2aeb2a20 |
files | libvo/vo_corevideo.m libvo/vo_quartz.c libvo/vo_vdpau.c |
diffstat | 3 files changed, 0 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_corevideo.m Sun Jun 09 22:30:25 2013 +0000 +++ b/libvo/vo_corevideo.m Sun Jun 09 22:35:47 2013 +0000 @@ -390,9 +390,6 @@ switch (request) { case VOCTRL_DRAW_IMAGE: return draw_image(data); - case VOCTRL_PAUSE: - case VOCTRL_RESUME: - return VO_TRUE; case VOCTRL_QUERY_FORMAT: return query_format(*(uint32_t*)data); case VOCTRL_GET_IMAGE: return get_image(data); case VOCTRL_ONTOP: vo_ontop = !vo_ontop; if(!shared_buffer){ [mpGLView ontop]; } else { [mplayerosxProto ontop]; } return VO_TRUE;
--- a/libvo/vo_quartz.c Sun Jun 09 22:30:25 2013 +0000 +++ b/libvo/vo_quartz.c Sun Jun 09 22:35:47 2013 +0000 @@ -96,7 +96,6 @@ kCGScreenSaverWindowLevelKey }; -static int int_pause = 0; static float winAlpha = 1; static int mouseHide = FALSE; static float winSizeMult = 1; @@ -1157,8 +1156,6 @@ { switch (request) { - case VOCTRL_PAUSE: return int_pause = 1; - case VOCTRL_RESUME: return int_pause = 0; case VOCTRL_FULLSCREEN: vo_fs = !vo_fs; window_fullscreen(); return VO_TRUE; case VOCTRL_ONTOP: vo_ontop = !vo_ontop; window_ontop(); return VO_TRUE; case VOCTRL_QUERY_FORMAT: return query_format(*(uint32_t *) data);
--- a/libvo/vo_vdpau.c Sun Jun 09 22:30:25 2013 +0000 +++ b/libvo/vo_vdpau.c Sun Jun 09 22:35:47 2013 +0000 @@ -215,7 +215,6 @@ * X11 specific */ static int visible_buf; -static int int_pause; static void draw_eosd(void); @@ -1359,10 +1358,6 @@ CHECK_ST_WARNING("Error changing deinterlacing settings") } return VO_TRUE; - case VOCTRL_PAUSE: - return int_pause = 1; - case VOCTRL_RESUME: - return int_pause = 0; case VOCTRL_QUERY_FORMAT: return query_format(*(uint32_t *)data); case VOCTRL_GET_IMAGE: