summaryrefslogtreecommitdiffstats
path: root/gst/aacparse/gstaacparse.c
AgeCommit message (Collapse)AuthorFilesLines
2009-06-02aacparse: fix sample rate extraction from codec dataTim-Philipp Müller1-22/+20
In one case we extracted the sample rate index from the codec data and saved it as sample rate rather than getting the real sample rate from the table. Fix that, and also make sure we don't access non-existant table entries by adding a small helper function that guards against out-of-bounds access in case of invalid input data.
2009-06-02aacparse, amrparse: remove bogus gst_pad_fixate_caps() callsTim-Philipp Müller1-1/+0
2009-06-02aacparse: set channels and rate on output caps, and keep codec_dataTim-Philipp Müller1-7/+17
Create output caps from input caps, so we maintain any fields we might get on the input caps, such as codec_data or rate and channels. Set channels and rate on the output caps if we don't have input caps or they don't contain such fields. We do this partly because we can, but also because some muxers need this information. Tagreadbin will also be happy about this.
2009-03-23aacparse: Fix busyloop when seeking. Fixes #575388René Stadler1-5/+0
The problem is that after a discont, set_min_frame_size(1024) is called when detect_stream returns FALSE. However, detect_stream calls check_adts_frame which sets the frame size on its own to something larger than 1024. This is the same situation as in the beginning, so the base class ends up calling check_valid_frame in an endless loop.
2009-03-23aacparse: Refactor check_valid_frame to expose broken codeRené Stadler1-8/+20
Just moving code around and removing an unhelpful/misleading comment.
2009-02-11aacparse: Fix license specified in plugin details.René Stadler1-2/+1
2009-01-23Log aac details found in codec_data.Stefan Kost1-0/+3
2008-11-13gst/aacparse/gstaacparse.c: Don't autoplug aacparse until it works.Wim Taymans1-1/+1
Original commit message from CVS: * gst/aacparse/gstaacparse.c: (plugin_init): Don't autoplug aacparse until it works.
2008-11-13Add two new baseparse based parsers (aac and amr) from Bug #518857.Stefan Kost1-0/+857
Original commit message from CVS: * configure.ac: * gst/aacparse/Makefile.am: * gst/aacparse/gstaacparse.c: * gst/aacparse/gstaacparse.h: * gst/aacparse/gstbaseparse.c: * gst/aacparse/gstbaseparse.h: * gst/amrparse/Makefile.am: * gst/amrparse/gstamrparse.c: * gst/amrparse/gstamrparse.h: * gst/amrparse/gstbaseparse.c: * gst/amrparse/gstbaseparse.h: Add two new baseparse based parsers (aac and amr) from Bug #518857.