summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorBenjamin Larsson <benjamin@southpole.se>2011-03-08 15:29:46 +0100
committerAnton Khirnov <anton@khirnov.net>2011-05-11 07:32:36 +0200
commit91199cfe55b1398b23a16b1f55df75e62e05198b (patch)
tree3741902e27ad258e37f21dd430e9bfe55ea56a13 /ffplay.c
parentffc437c026dd0e1b8e5d9114163b4e95999b95fd (diff)
ffplay: add a dummy option -i so that it is easy to switch between ffmpeg -i "file" and ffplay -i "file".
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffplay.c b/ffplay.c
index 11b307eaca..07727b667a 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -3019,6 +3019,7 @@ static const OptionDef options[] = {
#endif
{ "rdftspeed", OPT_INT | HAS_ARG| OPT_AUDIO | OPT_EXPERT, {(void*)&rdftspeed}, "rdft speed", "msecs" },
{ "default", OPT_FUNC2 | HAS_ARG | OPT_AUDIO | OPT_VIDEO | OPT_EXPERT, {(void*)opt_default}, "generic catch all option", "" },
+ { "i", 0, {NULL}, "ffmpeg compatibility dummy option", ""},
{ NULL, },
};