JVLC - Canvas and Swing issues

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
jopenman
New Cone
New Cone
Posts: 6
Joined: 30 Jul 2008 21:19

JVLC - Canvas and Swing issues

Postby jopenman » 19 Aug 2008 06:54

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.

Gonzalez

Re: JVLC - Canvas and Swing issues

Postby Gonzalez » 24 Sep 2008 21:45

I also like the idea to use a Swing component to replace Canvas in JVLC

XYBeR
Blank Cone
Blank Cone
Posts: 24
Joined: 20 Sep 2008 13:00

Re: JVLC - Canvas and Swing issues

Postby XYBeR » 29 Sep 2008 21:35

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...


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 48 guests