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

List:       kde-multimedia
Subject:    Re: MPEG embedding + aRts API RFC
From:       Martijn Klingens <mklingens () yahoo ! com>
Date:       2001-09-24 8:12:07
[Download RAW message or body]

On Friday 21 September 2001 17:24, Martin Vogt wrote:
> I'm currently working on a replacement of the rendering system,
> which should do that.

Aah... Then I for one am looking forward to that ;-)

<impatient-mode> What's the current status? </impatient-mode>

> > I tried a few approaches but all seemed to fail.
> > * Since mpeglib is not Qt code the signal/slot mechanism is not available
> > to mpeglib for making a simple callback call.
>
> It's easier to create an ARTS PlayObject, and control the decoder
> with calls through arts.
>
> What excatly do you want to do?

Embed videos inside a bigger window ;-)

Everything else in my mail was my struggle to get that working...
I was thinking of an 'emit( windowId( wId() ) );' after creating the window 
so the Qt code could embed the window before MPEGlib continued its 
initialization.

Obviously that is hard to do this way without either using function pointers 
(**yech**) or signals/slots. But changing the MPEGlib API to make it work is 
another option...

> > A few hints are clearly helpful here :-)
>
> <docmode>
> --- snip ---
> </docmode>

Actually I got stuck in Arts' classes, not in mpeglib's :-)
I tried to understand the VideoPlayObject & friends, but gave up.
Where do they actually communicate with mpeglib?
And where does arts pass on the Window IDs and such? It seemed to me that 
aRts didn't have a real provision for proper video embedding in its API and I 
couldn't confirm that by looking at the code either.

> > [ ... ] but I am quite sure that X is
> > not capable of handling requests from multiple threads.
>
> It can. XInitThreads()

Ah... Ok :-)

Maybe I should just wait for your updated renderer...

Martijn
_______________________________________________
Kde-multimedia mailing list
Kde-multimedia@mail.kde.org
http://mail.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