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

List:       kde-multimedia
Subject:    Problems with phonon-gst and JuK
From:       Michael Pyne <mpyne () purinchu ! net>
Date:       2008-05-19 3:04:20
Message-ID: 200805182304.28466.mpyne () purinchu ! net
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/alternative)]


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.  Is this a known problem or am I using the Phonon API wrong?

Regards,
 - Michael Pyne

[Attachment #7 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" \
"http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" \
content="1" /><style type="text/css"> p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Consolas'; font-size:11pt; font-weight:400; \
font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Hi all,</p> \
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;"></p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">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.</p> <p style="-qt-paragraph-type:empty; \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;"></p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">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()).</p> <p style="-qt-paragraph-type:empty; \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;"></p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">I tried debugging it in gdb \
and it crashes in medianode.cpp, line 203, where it calls Q_ASSERT(sink-&gt;root());  \
In this case, the sink indeed has no root.</p> <p style="-qt-paragraph-type:empty; \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;"></p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">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.</p> <p style="-qt-paragraph-type:empty; margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;"></p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">Even if I replace the crossfadeToFile() call with \
a simple MediaObject::setCurrentSource() on m_media in playermanager.cpp, I get the \
same crash.  Is this a known problem or am I using the Phonon API wrong?</p> <p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"></p> <p \
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Regards,</p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> - Michael \
Pyne</p></body></html>


["signature.asc" (application/pgp-signature)]

_______________________________________________
kde-multimedia mailing list
kde-multimedia@kde.org
https://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