[vlc-devel] commit: Disable vout_RequestWindow. It has never worked properly ( Rémi Denis-Courmont )

Pierre d'Herbemont pdherbemont at free.fr
Tue Jun 17 00:11:35 CEST 2008


On Jun 17, 2008, at 12:06 AM, Pierre d'Herbemont wrote:

>
> On Jun 16, 2008, at 9:12 PM, Jean-Baptiste Kempf wrote:
>
>> On Mon, Jun 16, 2008 at 10:03:27PM +0300, Rémi Denis-Courmont wrote :
>>> Le vendredi 13 juin 2008 11:37:39 Lukas Durfina, vous avez écrit :
>>>> what is the right way to inform interface, that vout
>>>> has been created?
>>>
>>> There is none, and there has never been any (right one) to date.
>>>
>>> I have been trying to do it to make one, but it's not exactly
>>> trivial.
>>
>> Btw, the vout works well on MacOS X, and sucks in wx/Qt (similar
>> code).
>> Maybe Qt should take inspiration on it. (I will look at it tonight)
>
> Currently the Mac OS X code only uses the opengl.c video_output module
> which allocates an opengl-provider module, which is part of the macosx
> module. It is not much safer than the RequestWindows solution.

Yet, it's safe enough because it is sync-ing with the interface thread  
correctly (using cocoa's performSelectorOnMainThread) AFAIK.

Pierre.




More information about the vlc-devel mailing list