[vlc-devel] libvlc set parent question
adanecito at yahoo.com
Mon Jan 21 19:17:15 CET 2008
I was able to do the MDI but in java. The java core
code needed to be reworked since it (not the jvlc) was
giving me quite a headache getting MDI to work.
If you read my previous post yesterday about CPU
utilization there are limits to the number of videos
you can run at the same time. I am not surprised since
video processing is hard on the CPU but what surprised
me is the fact most of the time the CPU utilization is
quite low. Hopefully FFMPEG can be made to run faster
unless there is only one instance for multiple
instances of the video player.
Outside of my app I tried running multiple vlc
instances and sure enough two movies seems to push vlc
into dropping video frames. Not a big deal for me I am
happy to see one video run well all the time which it
does for the most part.
I like to push the edge of a system's capability :-)
Thanks VLC team since I released my RIA last Wednesday
the number of visits to my site and the number of
downloads has been outstanding!!
--- Pierre d'Herbemont <pdherbemont at free.fr> wrote:
> On Jan 21, 2008, at 6:38 PM, jboileau wrote:
> > Well I was using libvlc_video_set_parent and
> giving it an already
> > created window handle and it worked fine.
> > But what I really need and want to do now is have
> a child window to
> > an existing main window in which to play the
> video. I was wondering
> > if I need to create a window and make it a child
> of my main window
> > using media_instance_set_drawable or does libvlc
> creates its own
> > window and I need to make that window a child of
> my main window
> > using libvlc_video_set_parent or something else
> > I just need the VLC output window to be a child of
> my main window.
> libvlc does nothing regarding window management the
> only entry points
> are the (get_|set_)drawable/set_parent, which
> manipulates drawable.
> You want to create the child window yourself, and
> pass to the
> video_ouput driver using set_drawable (or
> set_parent). If it doesn't
> work you'll need to fix the vlc video_output module
> you are using.
> Hope that helps!
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
More information about the vlc-devel