[vlc-devel] Detecting fullscreen under X on linux? (for MMAL vout)

Rémi Denis-Courmont remi at remlab.net
Thu Jul 12 18:19:22 CEST 2018


Le torstaina 12. heinäkuuta 2018, 19.01.18 EEST John Cox a écrit :
> (...) is there any way in the
> vout module to know if the user has requested fullscreen from VLC,
> either with the -f flag on the command line or by some other method?

Normally, that is passed to the vout window plugin via initial configuration 
and control request.

It is also possible to war-query the configuration flag through 
var_InheritBool(), but that seems kind of vain.

> The mmal vout module bypasses the whole of X and will overlay on top of
> whatever X is trying to display (via a separate video plane)
> and so is appropriate for use if the user wants fullscreen video, but not
> otherwise.

The user can select non-windowed vout display plugins with '--window dummy' as 
Thomas explained.

The regular --fullscreen flag can change during playback, so it does not seem 
appropriate here.

-- 
Rémi Denis-Courmont
http://www.remlab.net/





More information about the vlc-devel mailing list