[MPlayer-cygwin] Using -wid to embed mplayer into a java SWT application. (SOLVED)

Reinier Zwitserloot surial at gmail.com
Sun Sep 11 13:52:20 CEST 2005


DUUUUUUUH, of course. Now it works! All you have to add to make it work:


final Color wColor = new Color(wDisplay, new RGB(0x10, 0x10, 0x10));
wVideo.setBackground(wColor);

(right after creating the Canvas; the final Canvas wVideo = new
Canvas(wShell, SWT.EMBEDDED) line).

Thanks a lot!


 -- Reinier Zwitserloot


On 9/11/05, Sascha Sommer <saschasommer at freenet.de> wrote:
> 
> The colorkey is the background color (as RGB value) of the video window.
> 
> Sascha
>




More information about the MPlayer-cygwin mailing list