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 311162 - [flacdec] doesn't handle 24-bit files
[flacdec] doesn't handle 24-bit files
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.10
Other All
: Normal normal
: 0.8.11
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-07-21 15:27 UTC by Shahms E. King
Modified: 2005-07-22 10:02 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Shahms E. King 2005-07-21 15:27:34 UTC
Please describe the problem:
When attempting to decode a 24-bit flac file, the flacdec plugin exits with an
error.


Steps to reproduce:
Run "gst-launch filesrc location=sample.flac ! flacdec ! fakesink"

where "sample.flac" is a 24-bit FLAC file.

Actual results:
gst-launch prints:

RUNNING pipeline ...

** (process:10396): WARNING **: flacdec: invalid depth 24 found

ERROR: from element /pipeline0/flacdec0: Could not decode stream.
Additional debug info:
gstflacdec.c(333): gst_flacdec_error_callback: /pipeline0/flacdec0:
bad header

and exits

Expected results:
I would expect flacdec to successfully handle the compliant FLAC file.

Does this happen every time?
Yes

Other information:
A sample file can be downloaded from
http://www.archive.org/audio/etree-details-db.php?id=27237

There is a "sister" bug at #311070
Comment 1 Tim-Philipp Müller 2005-07-22 10:02:09 UTC
This should be fixed in CVS now. The output sounds a bit 'hollow' using the
sample file from the etree link above, but I suspect that's due to it being a
live recording (if not, please reopen).

Cheers
 -Tim

2005-07-22  Tim-Philipp Muller  <tim at centricular dot net>

        * ext/flac/gstflacdec.c: (gst_flacdec_write),
        (gst_flacdec_convert_src):
        * ext/flac/gstflacdec.h:
          Handle .flac files with 24 and 32 bits per sample
          (fixes #311162).