summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2012-10-25 12:07:27 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2012-11-12 14:55:57 -0800
commita78b111d5660cd22cef8f3f11925d62916463f0e (patch)
tree4572dd5be7dab5b6d29d39e3bc704398967c8b74 /cmds
parenteab500f333d192af27ee03f7a993301bbef310b0 (diff)
downloadframeworks_av-a78b111d5660cd22cef8f3f11925d62916463f0e.zip
frameworks_av-a78b111d5660cd22cef8f3f11925d62916463f0e.tar.gz
frameworks_av-a78b111d5660cd22cef8f3f11925d62916463f0e.tar.bz2
Stagefright command line tool: input file name last
Show in usage that the source file name comes last, and is preceded by the options. Change-Id: I8407fc36c8d19785cb2e6e1f7b7a352a8d86f889
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 b92a8a0..1e0e7f8 100644
--- a/cmds/stagefright/stagefright.cpp
+++ b/cmds/stagefright/stagefright.cpp
@@ -589,7 +589,7 @@ static void performSeekTest(const sp<MediaSource> &source) {
}
static void usage(const char *me) {
- fprintf(stderr, "usage: %s\n", me);
+ fprintf(stderr, "usage: %s [options] [input_filename]\n", me);
fprintf(stderr, " -h(elp)\n");
fprintf(stderr, " -a(udio)\n");
fprintf(stderr, " -n repetitions\n");
@@ -607,8 +607,8 @@ static void usage(const char *me) {
"(video only)\n");
fprintf(stderr, " -S allocate buffers from a surface\n");
fprintf(stderr, " -T allocate buffers from a surface texture\n");
- fprintf(stderr, " -d(ump) filename (raw stream data to a file)\n");
- fprintf(stderr, " -D(ump) filename (decoded PCM data to a file)\n");
+ fprintf(stderr, " -d(ump) output_filename (raw stream data to a file)\n");
+ fprintf(stderr, " -D(ump) output_filename (decoded PCM data to a file)\n");
}
static void dumpCodecProfiles(const sp<IOMX>& omx, bool queryDecoders) {