[vlc-devel] Re: Embedding VLC into Java programs

Gildas Bazin gbazin at altern.org
Fri Mar 12 14:47:59 CET 2004


On Friday 12 March 2004 12:42, Markus Kern wrote:
> 
> I have not tried to use VLC with java and am not sure if this is related 
but
> the the directx module is broken in that it does not forward unhandled
> window messages to the externally specified window.
> I have written the attached patch to fix this.
> 
> The patch works fine with a C wrapper for libVLC I have written:
> http://cvs.sourceforge.net/viewcvs.py/kceasy/kceasy/controls/VLC/
> 
> Since not forwarding unhandled messages to the previous window proc is
> clearly incorrect behaviour it would be nice if the attached patch
> could be applied to the official VLC tree.
> 

Thanks, patch looks good.

I applied it with a small modification so it plays well with the mozilla 
plugin as well (Mozilla has a tendency to save the windowproc pointer and 
call it in its own windowproc so in this case this was creating an infinite 
loop).

--
Gildas

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list