[vlc-devel] OSD sliders on OSX.

Derk-Jan Hartman hartman at videolan.org
Tue Jun 2 15:00:32 CEST 2009


It seems in master this was addressed in  
[cc4f67fe86359bae2db6fc631f0ef96e0c63c1d1]
I'll backport the fullscreen parts of that commit and leave the getSPU  
parts out.

DJ


On 2 jun 2009, at 14:41, Rémi Denis-Courmont wrote:
> 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
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel




More information about the vlc-devel mailing list