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
commit71bd6f8faf362659d3a9052549607039585f4922 (patch)
tree7361c8818fa92cf0f9427990f83008da257c1ea5 /cmds
parentc762a9b97c2bd7b701c635e9f204e6d6e0d3e218 (diff)
downloadframeworks_av-71bd6f8faf362659d3a9052549607039585f4922.zip
frameworks_av-71bd6f8faf362659d3a9052549607039585f4922.tar.gz
frameworks_av-71bd6f8faf362659d3a9052549607039585f4922.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) {