[Mplayer-cvslog] CVS: main mplayer.c,1.393,1.394

Alex Beregszaszi alex at mplayer.dev.hu
Sun Feb 17 02:07:47 CET 2002


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv15697

Modified Files:
	mplayer.c 
Log Message:
standard key support for video out runtime fullscreen switching

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.393
retrieving revision 1.394
diff -u -r1.393 -r1.394
--- mplayer.c	14 Feb 2002 12:55:27 -0000	1.393
+++ mplayer.c	17 Feb 2002 01:07:45 -0000	1.394
@@ -370,7 +370,7 @@
   current_module="exit_player";
 
   if(how) mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_Exiting,how);
-  mp_msg(MSGT_CPLAYER,MSGL_V,"max framesize was %d bytes\n",max_framesize);
+  mp_msg(MSGT_CPLAYER,MSGL_DBG2,"max framesize was %d bytes\n",max_framesize);
 
   exit(1);
 }
@@ -2333,6 +2333,10 @@
         tv_step_chanlist(tv_handler);
      break;
 #endif
+
+    case 'f':
+	video_out->control(VOCTRL_FULLSCREEN, 0);
+     break;
   }
 } // keyboard event handler
 
@@ -2537,6 +2541,10 @@
     case MP_CMD_TV_STEP_CHANNEL_LIST :  {
       if (tv_param_on == 1)
 	tv_step_chanlist(tv_handler);
+    } break;
+    case MP_CMD_VO_FULLSCREEN:
+    {
+	video_out->control(VOCTRL_FULLSCREEN, 0);
     } break;
 #endif
     default :




More information about the MPlayer-cvslog mailing list