# HG changeset patch # User alex # Date 1013908065 0 # Node ID 5bad0d74f6ead867e1ba1dcc17642762050e3225 # Parent 876f0ea71526a071623edf891a898fd4c5ab9e8e standard key support for video out runtime fullscreen switching diff -r 876f0ea71526 -r 5bad0d74f6ea mplayer.c --- a/mplayer.c Sun Feb 17 01:06:50 2002 +0000 +++ b/mplayer.c Sun Feb 17 01:07:45 2002 +0000 @@ -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 @@ -2538,6 +2542,10 @@ 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 : printf("Received unknow cmd %s\n",cmd->name);