diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2011-07-22 09:52:39 -0700 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2011-07-22 14:51:51 -0700 |
commit | d35924d9928f29dcee6f5666b5bbd084640c7b34 (patch) | |
tree | a9aee28b7cb355ec52034e1212794e896a18767f /cmds | |
parent | 7dff060f29858d6db2464845bb9097ac5960bbe6 (diff) | |
download | frameworks_av-d35924d9928f29dcee6f5666b5bbd084640c7b34.zip frameworks_av-d35924d9928f29dcee6f5666b5bbd084640c7b34.tar.gz frameworks_av-d35924d9928f29dcee6f5666b5bbd084640c7b34.tar.bz2 |
QueryCodecs() signature change
Restore QueryCodecs() signature exactly as used by third-party libs.
Add an alternative function to select HW only codecs.
Change-Id: Ibb2cb4dd36fc0c6599eb93aa5751c216397e3b6f
Diffstat (limited to 'cmds')
-rw-r--r-- | cmds/stagefright/stagefright.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/stagefright/stagefright.cpp b/cmds/stagefright/stagefright.cpp index b42f1c5..34f0a64 100644 --- a/cmds/stagefright/stagefright.cpp +++ b/cmds/stagefright/stagefright.cpp @@ -803,9 +803,9 @@ int main(int argc, char **argv) { printf("type '%s':\n", kMimeTypes[k]); Vector<CodecCapabilities> results; + // will retrieve hardware and software codecs CHECK_EQ(QueryCodecs(omx, kMimeTypes[k], true, // queryDecoders - false, // hwCodecOnly &results), (status_t)OK); for (size_t i = 0; i < results.size(); ++i) { |