[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-multimedia
Subject:    Video
From:       Charles <charles () altair ! dhs ! org>
Date:       2000-07-19 3:59:28
[Download RAW message or body]


I'm not going to stop complaining until it's implemented, and I'de do it
myself, but I'll certainly break something :)

So here is a bit from our own #kde

[14:05:14] <stw> njord: about video stuff, I am not really sure how I could help you. \
arts will not need to know if there is an X11VideoFooBarZong interface which mpeglib \
and noatun will know about [14:06:04] <stw> njord: basically, only mpeglib and noatun \
will need to know about it, so you can hack it in noatun yourself, and either do it \
for mpeglib, too, or try to convince martin to do it (or somebody else) [14:06:23] \
<Njord> stw: how about I pass mpeglib the Window ID of  where to paint to. how can I \
do this? [14:07:11] <stw> njord: first of all, make an IDL interface which you want \
to use to tell mpeglib things (similar to the PlayObject interface) [14:07:26] <stw> \
njord: like interface X11Embed { void setWindowID(long id); } [14:07:44] <Njord> ok..
[14:07:48] <stw> njord: then, the mpeglib codec needs to implement this besides \
Arts::PlayObject [14:08:06] <Njord> multiple inheritence?
[14:08:24] <Njord> ok, and how do I know if it's a video that I'm about to play
[14:08:25] <Njord> ?
[14:08:29] <stw> njord: finally, you can do X11Embed e = \
Arts::DynamicCast(aPlayObject); to see if aPlayObject supports it, if it doesn't \
e.isNull will be true [14:08:39] <Njord> oh.. I see
[14:08:52] <Njord> rtti- the aRts way ;)
[14:09:03] <stw> njord: otherwise, happily use e.setWindowID(4) or something like \
this ;)

Since I've proven that reparenting the window doesn't work, we're stuck with
passing the ID of a window to paint to.  Now, this isn't too hard at all, but
the mpeglib codebase is huge, and I can not find anything.

So, whoever volunteers, I don't want to mention names, Martin, but this one
certain person could probably manage to do this in about 15 minutes, assuming
that he knows anything about his own code base!

while (1) beg();

-Charles


--

Charles - charles@kde.org
"Flotte sko, vil du knulle?"

_______________________________________________
Kde-multimedia mailing list
Kde-multimedia@master.kde.org
http://master.kde.org/mailman/listinfo/kde-multimedia


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic