[0.11] gst-plugins-good: aacparse: parse LOAS variant

Sebastian Dröge slomo at kemper.freedesktop.org
Tue Jan 10 05:33:19 PST 2012


Module: gst-plugins-good
Branch: 0.11
Commit: 16a4c596eb39bfc845e2675385d95ff808920edc
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=16a4c596eb39bfc845e2675385d95ff808920edc

Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date:   Wed Dec  7 13:24:55 2011 +0000

aacparse: parse LOAS variant

The LOAS variant seems to have three different subvariants itself,
only one of them is implemented as my two samples happen to be
using that one.
The sample rate is not always reported correctly, as the "main"
sample rate is apparently sometimes half what it should be (both
of my samples report 24000 Hz there), and there are two other
parts of the subvariant with different sampling rates. One of them
is parsed, but not the other, as it's located after some other
large amount of variable data that needs parsing first, and there
seems to be a LOT of it, which is useless for our needs here.
This ends up being rather inconsequential, as ffdec_aac_latm,
which is the only decoder that can decode such streams, does not
need the sample rate on the caps anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=665394

---

 gst/audioparsers/gstaacparse.c |  429 +++++++++++++++++++++++++++++++++++++---
 gst/audioparsers/gstaacparse.h |    2 +
 2 files changed, 408 insertions(+), 23 deletions(-)

Diff:   http://cgit.freedesktop.org/gstreamer/gst-plugins-good/diff/?id=16a4c596eb39bfc845e2675385d95ff808920edc


More information about the gstreamer-commits mailing list