GNOME Bugzilla – Bug 502187
flacdec doesn't send newsegment from the streaming thread
Last modified: 2007-12-14 18:49:20 UTC
Please describe the problem: This is bug suggested to be reported by bilboed because this causes Jokosher freeze while seeking (Bug https://bugs.launchpad.net/jokosher/+bug/174474). He also said this will break behaviour with gnonlin. Steps to reproduce: See Jokosher bug for the steps to reproduce it. Actual results: Jokosher freezes. Expected results: Jokosher doesn't freeze and seeking works fine. Does this happen every time? Yes. Other information:
This happens when flac isn't contained in a container format, and therefore does the seek-handling itself. It should store the newsegment event so it can be sent from the streaming thread.
* ext/flac/gstflacdec.c: (gst_flac_dec_metadata_callback), (gst_flac_dec_write): * ext/flac/gstflacdec.h: Send segments from the streaming thread. Fixes #502187. Fix segment seeking and a bunch of other seeking cases.