summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorWonsik Kim <wonsik@google.com>2017-12-12 08:35:15 -0800
committerWonsik Kim <wonsik@google.com>2018-01-10 11:32:27 -0800
commit96310bd5caa54a4ced01d3fca684a8f89799fefd (patch)
tree7168bf81428d866e7105c97391b83137fabf0d74 /cmds
parent9321dc866ea81a90e765c06fe20adec7e163338a (diff)
downloadframeworks_av-96310bd5caa54a4ced01d3fca684a8f89799fefd.tar.gz
frameworks_av-96310bd5caa54a4ced01d3fca684a8f89799fefd.tar.bz2
frameworks_av-96310bd5caa54a4ced01d3fca684a8f89799fefd.zip
CCodec: Episode II --- Prepare For Audio
- Get components from C2ComponentStore - Determine type of the stream from C2ComponentInterface - Change Codec 2.0 prefix from "codec2." to "c2." - Define csd info and handle it - Change codec name override flag for stagefright command-line tool from "-O" to "-N" Test: setprop debug.stagefright.ccodec true Test: stagefright -S -N c2.google.avc.decoder /data/local/tmp/a.mp4 Change-Id: Id9d60fd086ddcb751e5d8f658ef81bd629c0f4a1
Diffstat (limited to 'cmds')
-rw-r--r--cmds/stagefright/stagefright.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmds/stagefright/stagefright.cpp b/cmds/stagefright/stagefright.cpp
index 44ed0343c1..bb517aae7d 100644
--- a/cmds/stagefright/stagefright.cpp
+++ b/cmds/stagefright/stagefright.cpp
@@ -622,7 +622,7 @@ static void usage(const char *me) {
fprintf(stderr, " -o playback audio\n");
fprintf(stderr, " -w(rite) filename (write to .mp4 file)\n");
fprintf(stderr, " -k seek test\n");
- fprintf(stderr, " -O(verride) name of the component\n");
+ fprintf(stderr, " -N(ame) of the component\n");
fprintf(stderr, " -x display a histogram of decoding times/fps "
"(video only)\n");
fprintf(stderr, " -q don't show progress indicator\n");
@@ -708,7 +708,7 @@ int main(int argc, char **argv) {
sp<ALooper> looper;
int res;
- while ((res = getopt(argc, argv, "haqn:lm:b:ptsrow:kO:xSTd:D:")) >= 0) {
+ while ((res = getopt(argc, argv, "haqn:lm:b:ptsrow:kN:xSTd:D:")) >= 0) {
switch (res) {
case 'a':
{
@@ -737,7 +737,7 @@ int main(int argc, char **argv) {
break;
}
- case 'O':
+ case 'N':
{
gComponentNameOverride.setTo(optarg);
break;