Summary: | phonon does not report finished state right after the end of a sound | ||
---|---|---|---|
Product: | [Frameworks and Libraries] phonon-backend-gstreamer | Reporter: | solsTiCe <solstice.dhiver> |
Component: | general | Assignee: | Harald Sitter <sitter> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | martin.sandsmark, myriam, romain.perier, solstice.dhiver, tdfischer |
Priority: | NOR | ||
Version: | 4.6 | ||
Target Milestone: | 4.6.1 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.6.1 | |
Attachments: |
debug output of my program running phonon 4.5.1
debug output on my prog running phonon 4.6 |
Description
solsTiCe
2012-02-18 14:55:01 UTC
It is definitvly working with phonon 4.5.1 and phonon-gstreamer 4.5.1 so something broke in 4.6.0 may be it's in phonon and not the backend. I have no idea Well, in Phonon 4.6 (at least I think it we did the change in 4.6) signals are queued in the main event loop, i.e. if you hog the event loop the state change will arrive much later, and 3 seconds sounds like exactly that is happening. at any rate a debug log would be nice http://techbase.kde.org/Development/Tutorials/Debugging/Phonon also just as a reminder for ourselves, the fact that vlc truncates the sound might be an indication that the input file itself is not 'proper'. which would actually conveniently explain the problem. Created attachment 68927 [details]
debug output of my program running phonon 4.5.1
Created attachment 68928 [details]
debug output on my prog running phonon 4.6
I can't get any verbose output with phonon 4.6. It works with phonon 4.5.1 PHONON_GST_GST_DEBUG st to 8 changes nothing ! You don't need any info as you confirm yourself the bug, do you ? And you don't see this as a bug ? this breaks Qt/Phonon API, right ? No, he didn't confirm. Anyway, thanks for the feedback. I cannot reproduce the bug because your app refuses to output any output for me unfortunately. Anyhow, your 4.6 seems to be compiled with debug off, please recompile with debug on and get a new log. Git commit 9a26f7df9d0c5147d6918d1e24a7ba861c57528f by Trever Fischer. Committed on 19/02/2012 at 22:27. Pushed by tdfischer into branch 'master'. Wake up our condition variable if we finish within three seconds, which would otherwise hold up emission of finished() FIXED-IN:4.6.1 M +1 -0 gstreamer/mediaobject.cpp http://commits.kde.org/phonon-gstreamer/9a26f7df9d0c5147d6918d1e24a7ba861c57528f Git commit e79d309b1e42a365ab973e562a62c334dec265c1 by Trever Fischer. Committed on 19/02/2012 at 22:27. Pushed by tdfischer into branch '4.6'. Wake up our condition variable if we finish within three seconds, which would otherwise hold up emission of finished() FIXED-IN:4.6.1 M +1 -0 gstreamer/mediaobject.cpp http://commits.kde.org/phonon-gstreamer/e79d309b1e42a365ab973e562a62c334dec265c1 |