kde app with a gstreamer backend

Ronald Bultje rbultje at ronald.bitfreak.net
Tue Jun 1 23:16:22 BST 2004

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.



On Tue, 1 Jun 2004, Mike McLean wrote:

> Hi,
> I'm new to kde development and am working on an audio application that uses a
> KDE frontend with a gstreamer backend.  I've gotten to where I can load
> files, and have gstreamer play the audio.  However, I am having problems
> deleting the stream when it finishes playing.
> I am not using the gstreamer wrapper as it doesn't appear to compile against
> gstreamer 0.8.1.  I've tried the one from kdenonbeta, if there is a more up
> to date version a pointer would be most helpful.
> I have setup an end of stream callback within the gstreamer code, but I'm
> struggling to figure out what to put in it that I can catch on the kde side.
> I'm sure I'm missing something simple, but any help would be greatly
> appreciated.
> Mike.
> _______________________________________________
> kde-multimedia mailing list
> kde-multimedia at kde.org
> https://mail.kde.org/mailman/listinfo/kde-multimedia

More information about the kde-multimedia mailing list