[MPlayer-cvslog] r36328 - in trunk/libvo: vo_corevideo.m vo_quartz.c vo_vdpau.c

reimar subversion at mplayerhq.hu
Mon Jun 10 00:35:47 CEST 2013


Author: reimar
Date: Mon Jun 10 00:35:47 2013
New Revision: 36328

Log:
Remove some unused code that has no effect.

Modified:
   trunk/libvo/vo_corevideo.m
   trunk/libvo/vo_quartz.c
   trunk/libvo/vo_vdpau.c

Modified: trunk/libvo/vo_corevideo.m
==============================================================================
--- trunk/libvo/vo_corevideo.m	Mon Jun 10 00:30:25 2013	(r36327)
+++ trunk/libvo/vo_corevideo.m	Mon Jun 10 00:35:47 2013	(r36328)
@@ -390,9 +390,6 @@ static int control(uint32_t request, voi
 	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;

Modified: trunk/libvo/vo_quartz.c
==============================================================================
--- trunk/libvo/vo_quartz.c	Mon Jun 10 00:30:25 2013	(r36327)
+++ trunk/libvo/vo_quartz.c	Mon Jun 10 00:35:47 2013	(r36328)
@@ -96,7 +96,6 @@ int levelList[] =
     kCGScreenSaverWindowLevelKey
 };
 
-static int int_pause = 0;
 static float winAlpha = 1;
 static int mouseHide = FALSE;
 static float winSizeMult = 1;
@@ -1157,8 +1156,6 @@ static int control(uint32_t request, voi
 {
     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);

Modified: trunk/libvo/vo_vdpau.c
==============================================================================
--- trunk/libvo/vo_vdpau.c	Mon Jun 10 00:30:25 2013	(r36327)
+++ trunk/libvo/vo_vdpau.c	Mon Jun 10 00:35:47 2013	(r36328)
@@ -215,7 +215,6 @@ static VdpProcamp procamp;
  * X11 specific
  */
 static int                                visible_buf;
-static int                                int_pause;
 
 static void draw_eosd(void);
 
@@ -1359,10 +1358,6 @@ static int control(uint32_t request, voi
             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:


More information about the MPlayer-cvslog mailing list