GNOME Bugzilla – Bug 673305
playback halts in simple gapless playback setup with playbin2 and about-to-finish
Last modified: 2013-08-16 10:38:27 UTC
Created attachment 211088 [details] Example code. Hangs after one or two playbacks. The attached code (please change the file path appropriately) hangs after one or two playbacks of the song.
Created attachment 211089 [details] Updated example: bogus whitespace removed.
Created attachment 211235 [details] Updated file with working workaround I'm having the same problem. The song consistently plays only once here; then when "about-to-finish" appears on the screen, the song stops immediately (instead of finishing) and is never repeated. A solution proposed in a september 2011 thread[0] is a working workaround for me: if I set an explicit audiosink, even autoaudiosink, the song finishes correctly and immediately restarts every time. Please see the attached updated file. [0] http://gstreamer-devel.966125.n4.nabble.com/gapless-playback-example-does-not-work-test7-c-td3812999.html
I had this problem on gstreamer 0.10.34 and 0.10.36, with the proposed workaround tested on 0.10.36 only (and working there). gst-python version 0.10.22, on a Mac OS X Lion machine with glib, gstreamer etc. installed from the Fink package manager.
Created attachment 211236 [details] GST_DEBUG=*:5 log for version without workaround
Created attachment 211237 [details] GST_DEBUG=*:5 log for version with workaround
Works just fine here with latest git master