kde app with a gstreamer backend
Mike McLean
libolt at libolt.net
Tue Jun 1 23:44:31 BST 2004
Hi Ronald.
Thanks for the response. Yeah I've gotten that error before. I've
looked at the amarok source and tried to mimick the functionality, but
I've missed something.
I've added the following line to my eos callback:
QTimer::singleShot( 0, pObject, SLOT( stopPlay() ) );
Yet I am having a problem figuring out where the main application thread
is so that i can stop the stream and start a new one.
Thanks again,
Mike
On Tue, 2004-06-01 at 15:16, Ronald Bultje wrote:
> Hi Mike,
>
> I assume you're having issues where it tells you that it's destroying the
> thread from within itself ("the function will not return"). Set an idle
> handler to handle the EOS event from the main application's thread and
> delete the stream from there on.
>
> Amarok has code that shows how to do this.
>
> Regards,
>
> Ronald
More information about the kde-multimedia
mailing list