After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 673305 - playback halts in simple gapless playback setup with playbin2 and about-to-finish
playback halts in simple gapless playback setup with playbin2 and about-to-fi...
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.35
Other Linux
: Normal major
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-04-01 17:13 UTC by Bas Westerbaan
Modified: 2013-08-16 10:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Example code. Hangs after one or two playbacks. (2.02 KB, text/x-python-script)
2012-04-01 17:13 UTC, Bas Westerbaan
Details
Updated example: bogus whitespace removed. (738 bytes, text/x-python-script)
2012-04-01 17:15 UTC, Bas Westerbaan
Details
Updated file with working workaround (859 bytes, text/x-python)
2012-04-03 16:14 UTC, Sjors Gielen
Details
GST_DEBUG=*:5 log for version without workaround (276.78 KB, application/bzip2)
2012-04-03 16:23 UTC, Sjors Gielen
Details
GST_DEBUG=*:5 log for version with workaround (680.81 KB, application/bzip2)
2012-04-03 16:24 UTC, Sjors Gielen
Details

Description Bas Westerbaan 2012-04-01 17:13:35 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.
Comment 1 Bas Westerbaan 2012-04-01 17:15:58 UTC
Created attachment 211089 [details]
Updated example:  bogus whitespace removed.
Comment 2 Sjors Gielen 2012-04-03 16:14:29 UTC
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
Comment 3 Sjors Gielen 2012-04-03 16:17:59 UTC
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.
Comment 4 Sjors Gielen 2012-04-03 16:23:58 UTC
Created attachment 211236 [details]
GST_DEBUG=*:5 log for version without workaround
Comment 5 Sjors Gielen 2012-04-03 16:24:28 UTC
Created attachment 211237 [details]
GST_DEBUG=*:5 log for version with workaround
Comment 6 Sebastian Dröge (slomo) 2013-08-16 10:38:27 UTC
Works just fine here with latest git master