Page 1 of 1

JVLC - Canvas and Swing issues

Posted: 19 Aug 2008 06:54
by jopenman
Is it possible to remove the dependence on Canvas in the .setVideoOutput() function in JVLC? There are a lot of issues with using a Canvas and other Swing components together. There is a lot of documentation that suggests that JCompenent, JLabel, JPanel and some others should be used as a replacement for awt.Canvas.

Specific issues I am running into are describes in this article:

http://java.sun.com/products/jfc/tsc/ar ... index.html

If it is possible to Overload the function to allow for possible sending different components or even just a Graphics component would help out a lot.

Thoughts?

ps. - I am using the latest 0.9 version.

Re: JVLC - Canvas and Swing issues

Posted: 24 Sep 2008 21:45
by Gonzalez
I also like the idea to use a Swing component to replace Canvas in JVLC

Re: JVLC - Canvas and Swing issues

Posted: 29 Sep 2008 21:35
by XYBeR
I'm not a vlc developer, but in my opinion the Canvas dependency is a must, because jvlc not a rewrite of vlc, only a thin layer which is communicate with it. The magic in jvlc is exactly a native (or heavy) component, because it have a real window id. VLC put the video overlay to this window...