[vlc-devel] OSD sliders on OSX.
Rémi Denis-Courmont
remi at remlab.net
Tue Jun 2 14:41:12 CEST 2009
On Tue, 2 Jun 2009 12:49:18 +0200, Derk-Jan Hartman <hartman at videolan.org>
wrote:
> I was wondering why i no longer had OSD volumesliders and position
> indicators in OS X. The play/pause icons were still present, so that
> wasn't the issue.
>
> It seems that in hotkeys.c the presentation of these elements is
> wrapped in if( p_vout->b_fullscreen ).
> In the 0.9 tree it was if( !p_vout->p_window || p_vout->b_fullscreen )
> Since p_window was NULL on OSX, this condition was always true.
> However the p_window has been removed, and now p_vout->b_fullscreen
> has become important. It seems however that on OSX, this value is
> never true, probably because of the opengl provider chaos that
> surrounds the vout's. I verified this, by checking with
> var_GetBool( p_vout, "fullscreen" ), if this fixes the problem and it
> does.
>
> I'm not sure what the desired behaviour even is actually. When do we
> want to show these 'sliders' ?
I don't know what the semantics are supposed. But it makes no sense to have
it dependent on p_window (on Linux, there is _always_ a window nowadays).
Also, p_window was, and b_fullscreen still is, specific to the vout thread,
so they cannot be used in hotkeys.c
--
Rémi Denis-Courmont
More information about the vlc-devel
mailing list