GNOME Bugzilla – Bug 700382
qtdemux: handle 96kHz/24 bits ALAC audio
Last modified: 2013-05-18 10:24:25 UTC
Created attachment 244311 [details] [review] qtdemux: set alac caps using info from codec buffer qtdemux cannot decode ALAC files with 96kHz/24bit audio. For some reason the samplerate field in the STSD atom is not right, so the audio caps must be extracted from the codec data. This is what the libav mp4 demuxer does. Here is an example file: gst-launch-1.0 playbin uri="http://absolut.zogzog.org/share/samples/m4a/alac-96k.m4a"
Fair enough, pushed, thanks! commit 6edcc564baf108e8833d0b1383ca5233157694d1 Author: Arnaud Vrac <avrac@freebox.fr> Date: Tue May 14 15:23:08 2013 +0200 qtdemux: set alac caps using info from codec buffer The samplerate field in the STSD atom is not right for some ALAC files (usually when audio is 96kHz/24bits), so the audio caps must be extracted from the codec data. https://bugzilla.gnome.org/show_bug.cgi?id=700382 Minor change: used additional variable to avoid compiler warnings about pointer arithmetic on void *.