Page 1 of 1

fullscreen mode

Posted: 24 Apr 2006 11:09
by MarcScherer
Hello,

is there any possibility to detect if the player is running in fullscreen mode?

Thanks.

fullscreen

Posted: 24 Apr 2006 13:29
by Albert
Hello,
I suppose yes - thanks rpn functions. See http interface files...

Code: Select all

<!-- misc commands --> <vlc id="if" param1="command value 'fullscreen' strcmp 0 =" /> <vlc id="if" param1="'VLC_OBJECT_VOUT' vlc_object_exists" /> <vlc id="rpn" param1="'fullscreen' 'VLC_OBJECT_VOUT' vlc_var_get ! 'fullscreen' 'VLC_OBJECT_VOUT' vlc_var_set" /> <vlc id="end" />
Albert

Posted: 24 Apr 2006 14:08
by MarcScherer
thanks for your reply.

i try the following code in C++:

Code: Select all

variant_t temp; temp = vlcControl->getVariable("fullscreen");
When I run this, I get an COleDispatch Exception, so I think the variable "fullscreen" is unknown.