gstreamer 0.10 apps prematurely stop parsing some flac files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gst-plugins-good0.10 (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Gstreamer 0.10 stops processing certain flac files before their end is reached. When it happens, no error condition is reported. It fails silently, as if the file was truncated.
This affects all applications that use gstreamer0.
Upstream git branch 0.10 has had patches since 2012 that seem to fix the problem, but they have not yet made it into an official 0.10.x release. The relevant changesets are:
5881603 flacparse: avoid indefinite extended search for frame end if possible
440d703 flacparse: perform additional frame crc check if applicable
32cddf6 flacparse: avoid some more frame misparsing by additional header sanity check
The fixes are present in gstreamer 1.0, but applications that still depend on 0.10 (either directly or through python-gst) remain broken. This seems like a good reason to apply the fixes to 0.10.
I have attached 3 upstream patches to fix the premature eos on some flac files:
0010-flacparse- avoid-indefinit e-search- for-frame- end.patch additional- frame-crc- check.patch additional- header- sanity- check.patch
0011-flacparse-
0012-flacparse-
These are suitable for adding to the debian/patches directory (and series file) of gst-plugins- good0.10- 0.10.31.