summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-17 01:07:45 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-17 01:07:45 +0000
commit24d02d94933f9ea269a16d28ee61d2d0081ac4e6 (patch)
tree7e92bc776516030c91b68cbdba8ba69f8d02f97f /mplayer.c
parentad7d813709c7d3126f96316d6f9c8ca3df7b8a7a (diff)
downloadmpv-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.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index 71a6483ed3..afa9c1d5d3 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -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);