summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/include/MPEG4Extractor.h
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-01-29 14:46:59 -0800
committerAndreas Huber <andih@google.com>2010-01-29 14:46:59 -0800
commitba7c7eeca462614251aec3d27f0f7ff3a83cefa1 (patch)
tree1c0d7858928bf561b322f356e9a4677f7ff128da /media/libstagefright/include/MPEG4Extractor.h
parent0fc863291096e9818fa83f8edc459f7f9c9cf794 (diff)
downloadframeworks_av-ba7c7eeca462614251aec3d27f0f7ff3a83cefa1.zip
frameworks_av-ba7c7eeca462614251aec3d27f0f7ff3a83cefa1.tar.gz
frameworks_av-ba7c7eeca462614251aec3d27f0f7ff3a83cefa1.tar.bz2
Apparently the generic mpeg4 file header does not describe the actual samplerate and channel count of the content in the case of mpeg4 audio, instead the 'ESDS' atom must be consulted.
related-to-bug: 2407094
Diffstat (limited to 'media/libstagefright/include/MPEG4Extractor.h')
-rw-r--r--media/libstagefright/include/MPEG4Extractor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/media/libstagefright/include/MPEG4Extractor.h b/media/libstagefright/include/MPEG4Extractor.h
index 1a13446..3a63e88 100644
--- a/media/libstagefright/include/MPEG4Extractor.h
+++ b/media/libstagefright/include/MPEG4Extractor.h
@@ -65,6 +65,9 @@ private:
status_t parseChunk(off_t *offset, int depth);
status_t parseMetaData(off_t offset, size_t size);
+ status_t updateAudioTrackInfoFromESDS_MPEG4Audio(
+ const void *esds_data, size_t esds_size);
+
MPEG4Extractor(const MPEG4Extractor &);
MPEG4Extractor &operator=(const MPEG4Extractor &);
};