Mercurial > mplayer.hg
changeset 4733:5bad0d74f6ea
standard key support for video out runtime fullscreen switching
author | alex |
---|---|
date | Sun, 17 Feb 2002 01:07:45 +0000 |
parents | 876f0ea71526 |
children | cc375edb5eda |
files | mplayer.c |
diffstat | 1 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);