[MPlayer-dev-eng] fullscreen problem when using mplayerosx

Ulion ulion2002 at gmail.com
Mon Aug 20 05:19:38 CEST 2007


Hello,

Now I'm working on improving Apple Remote double click support, but I
found a problem to set mplayer fullscreen when run mplayer with the
mplayerosx.
By default, it seems mplayerosx will start mplayer with shared buffer
output mode. In this mode, the VOCTRL_FULLSCREEN command inited from
mplayer will not work, because it didn't send the command to the proxy
of mplayerosx.
So the keyboard command 'f' will not make mplayer be fullscreen in
such situation, neither vo_fullscreen command inited from any other
mplayer input module.

Instead, when mplayerosx is set to use other vo module in mplayerosx's
preferences, there is no such problem. So the different behaviors just
cased by using different vo module.

One workaround is to send fullscreen command to mplayerosx proxy in
vo_macosx module in mplayer, and at  same time did not set
videoOpenGLView toggleFullscreen in PlayerController.m of mplayerosx.

Since there is no way to notify mplayerosx to set fullscreen except
send the command to the proxy of mplayerosx in vo_macosx module. So I
only can find this way to support set fullscreen by using Apple
Remote's input, do you think this is an acceptable adaptation, Nicolas
Plourde?

-- 
Ulion



More information about the MPlayer-dev-eng mailing list