GNOME Bugzilla – Bug 729894
flacdec: Can't play variable block size FLAC files
Last modified: 2014-05-10 13:48:24 UTC
Here is a sample file I was not able to play using gst-play-1.0 http://quintasan.pl/hanashirube.flac
Created attachment 276264 [details] [review] diff This makes the file play, but it seems a bit suspicious. Basically this file is invalid according to the last version of the flac spec I read, but OTOH "flac -t" or "flac -a" do no complain about it at all and every other software I tested played it just fine.
Will check tomorrow
Only the flacdec change was actually necessary. The other one gives a warning but does not break anything, however this warning indicates that this file is not according to the FLAC spec. It seems like the blocking strategy here changes for every block, while the spec says: The "blocking strategy" bit must be the same throughout the entire stream. libflac also ignores this, and just printing the warning seems useful. commit f5b2b6e69653f02a8c0ea6a6be70da2657a1debf Author: Sebastian Dröge <sebastian@centricular.com> Date: Sat May 10 09:14:33 2014 +0200 flacdec: Add support for variable block size files and remove dead code This dead code wasn't used since the 1.0 port and would need to be modified heavily for variable block size support. https://bugzilla.gnome.org/show_bug.cgi?id=729894