Problems with phonon gstreamer backend
Michael Pyne
mpyne at purinchu.net
Tue May 20 00:05:59 CEST 2008
Hi all,
In the process of trying to debug whether volume changes I get with phonon-
xine are due to JuK code is JuK's fault, I tried to use phonon-gst (from
kdereview) to test a different backend.
I got it to build and install, and after a change to JuK to actually work with
phonon-gst (JuK's fault ;), I have issues with crashing when switching to the
next song (relevant code is in playermanager.cpp, crossfadeToFile()).
I tried debugging it in gdb and it crashes in medianode.cpp, line 203, where
it calls Q_ASSERT(sink->root()); In this case, the sink indeed has no root.
Now, if I single step through the crossfadeTo() function in gdb, I get no
crashes whatsoever (although nothing is playing once I continue either, I can
play a song fine). So it seems like some kind of timing issue.
Even if I replace the crossfadeToFile() call with a simple
MediaObject::setCurrentSource() on m_media in playermanager.cpp, I get the
same crash. If I disable the slotKillSender() function (which deletes
MediaObjects that have finished playback after crossfading to a different
one), it still crashes. Is this a known problem or am I using the Phonon API
wrong?
Regards,
- Michael Pyne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/phonon-backends/attachments/20080519/6c387e6d/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/phonon-backends/attachments/20080519/6c387e6d/attachment.pgp
More information about the Phonon-backends
mailing list