[vlc-devel] Re: [PATCH] Patch to rc interface to allow fullscreen on/off forcing.

Jean-Paul Saman jean-paul.saman at planet.nl
Sat Oct 15 12:10:35 CEST 2005


Greg Farrell wrote:

>Hi,
>
>   As it stands the fullscreen cmd in the rc interface toggles
>fullscreen mode. If you are already fullscreen you will go
>non-fullscreen and if you are already non-fullscreen you will go
>fullscreen.
>
>If the caller (in my case another app) wants to be sure they go
>fullscreen they need to know vlc's current state. There is no way to say
>you want to be in fullscreen whatever your current mode is.
>
>So I've written a small patch that adds an optional parameter to the
>fullscreen cmd. If it's missing or gibberish then fullscreen will still
>toggle as normal. If it's there and arg == "on" then fullscreen mode
>will be turned on, or left on if already on. And the opposite for "off".
>
>This is useful for me as my controlling app will no longer need to
>duplicate the tracking of fullscreen vlc already does, and also
>hopefully for others. It also doesn't change the current behaviour for
>anyone who already uses fullscreen as a simple toggle.
>
>Hope you'll accept the below patch.
>  
>
Patch applied, thanks for contributing.

Kind greetings,
Jean-Paul Saman

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list