summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-03-24 13:49:20 -0700
committerAndreas Huber <andih@google.com>2010-03-24 13:49:20 -0700
commit08a88e195d2b3697f2f967e9216491e8c5bd3c9e (patch)
tree6151fda512084e1b13ecbfec4fcacce457963eaa /cmds
parent9584a0726582b6b7603032870c62b4fccd5ce076 (diff)
downloadframeworks_av-08a88e195d2b3697f2f967e9216491e8c5bd3c9e.zip
frameworks_av-08a88e195d2b3697f2f967e9216491e8c5bd3c9e.tar.gz
frameworks_av-08a88e195d2b3697f2f967e9216491e8c5bd3c9e.tar.bz2
QueryCodecs now returns the names of the software codecs (non-OpenMax) as well.
Change-Id: Ic4cd61f4dd722fb0dda544ffaa5615e87e3a4d40 related-to-bug: 2541647
Diffstat (limited to 'cmds')
-rw-r--r--cmds/stagefright/stagefright.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmds/stagefright/stagefright.cpp b/cmds/stagefright/stagefright.cpp
index 6658842..55bb581 100644
--- a/cmds/stagefright/stagefright.cpp
+++ b/cmds/stagefright/stagefright.cpp
@@ -370,7 +370,9 @@ int main(int argc, char **argv) {
const char *kMimeTypes[] = {
MEDIA_MIMETYPE_VIDEO_AVC, MEDIA_MIMETYPE_VIDEO_MPEG4,
- MEDIA_MIMETYPE_VIDEO_H263
+ MEDIA_MIMETYPE_VIDEO_H263, MEDIA_MIMETYPE_AUDIO_AAC,
+ MEDIA_MIMETYPE_AUDIO_AMR_NB, MEDIA_MIMETYPE_AUDIO_AMR_WB,
+ MEDIA_MIMETYPE_AUDIO_MPEG
};
for (size_t k = 0; k < sizeof(kMimeTypes) / sizeof(kMimeTypes[0]);