diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-17 01:07:45 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-17 01:07:45 +0000 |
commit | 24d02d94933f9ea269a16d28ee61d2d0081ac4e6 (patch) | |
tree | 7e92bc776516030c91b68cbdba8ba69f8d02f97f /mplayer.c | |
parent | ad7d813709c7d3126f96316d6f9c8ca3df7b8a7a (diff) | |
download | mpv-24d02d94933f9ea269a16d28ee61d2d0081ac4e6.tar.bz2 mpv-24d02d94933f9ea269a16d28ee61d2d0081ac4e6.tar.xz |
standard key support for video out runtime fullscreen switching
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4734 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -370,7 +370,7 @@ void exit_player(char* how){ 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 @@ if(step_sec>0) { tv_step_chanlist(tv_handler); break; #endif + + case 'f': + video_out->control(VOCTRL_FULLSCREEN, 0); + break; } } // keyboard event handler @@ -2538,6 +2542,10 @@ if(step_sec>0) { 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); |