diff options
author | Marco Nelissen <marcone@google.com> | 2011-01-06 11:12:17 -0800 |
---|---|---|
committer | Marco Nelissen <marcone@google.com> | 2011-01-06 15:05:06 -0800 |
commit | 288fb7e5bd7060cbe9b737500975754c9312e2db (patch) | |
tree | 666d36f72e5d8517fd39db346d941286529c3a69 /include | |
parent | 91dcf1510491c4128f506a0d28e64de5ecbf459d (diff) | |
download | frameworks_av-288fb7e5bd7060cbe9b737500975754c9312e2db.zip frameworks_av-288fb7e5bd7060cbe9b737500975754c9312e2db.tar.gz frameworks_av-288fb7e5bd7060cbe9b737500975754c9312e2db.tar.bz2 |
Add support for the "compilation" tag in mp3, mp4 and ogg, and also add
support for two common ways of specifying album artist in ogg files.
b/3311831
Change-Id: Iba1152013b7577168af71f947d7249560419fa05
Diffstat (limited to 'include')
-rw-r--r-- | include/media/mediametadataretriever.h | 1 | ||||
-rw-r--r-- | include/media/stagefright/MetaData.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/media/mediametadataretriever.h b/include/media/mediametadataretriever.h index dbbcc49..ddc07f6 100644 --- a/include/media/mediametadataretriever.h +++ b/include/media/mediametadataretriever.h @@ -56,6 +56,7 @@ enum { METADATA_KEY_MIMETYPE = 22, METADATA_KEY_DISC_NUMBER = 23, METADATA_KEY_ALBUMARTIST = 24, + METADATA_KEY_COMPILATION = 25, // Add more here... }; diff --git a/include/media/stagefright/MetaData.h b/include/media/stagefright/MetaData.h index 29bfc4a..bffb9e0 100644 --- a/include/media/stagefright/MetaData.h +++ b/include/media/stagefright/MetaData.h @@ -73,6 +73,7 @@ enum { kKeyDiscNumber = 'dnum', // cstring kKeyDate = 'date', // cstring kKeyWriter = 'writ', // cstring + kKeyCompilation = 'cpil', // cstring kKeyTimeScale = 'tmsl', // int32_t // video profile and level |