GNOME Bugzilla – Bug 579422
flacdec can block allocating before it sent a new-segment
Last modified: 2009-05-06 13:09:51 UTC
See https://thomas.apestaart.org/thomas/trac/browser/tests/gnonlin/gnludbplay.py This code hangs on flac files, and works on mp3/speex/ogg/... The reason is that the first seek to 0 triggers a pad_alloc before a new segment is sent, and it blocks.
pull in the fix with: git remote add tao http://thomas.apestaart.org/git/gstreamer/gst-plugins-good/ git fetch tao git checkout -b bz-579422 tao/bz-579422 This fixes the test application as well as my jukebox mixer.
Marking it as a blocker so that I don't forget before the next release and other people have time to see if they agree with my approach, because it might be a hack.
If you want review before committing, maybe you could attach a patch with the fix or point us to the right commits/branch on http://cgit.freedesktop.org/~thomasvs/gst-plugins-good/ so we don't have to dig through your repo?
*** Bug 576453 has been marked as a duplicate of this bug. ***
commit 71acf2e900877d21485d384fd01892d1dca88ea1 Author: Thomas Vander Stichele <thomas@apestaart.org> Date: Sat Apr 18 18:00:54 2009 +0200 flacdec: don't use pad_alloc when decoding while seeking. Fixes #579422