summaryrefslogtreecommitdiff
path: root/ffprobe.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-06-05 00:09:04 +0200
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-06-05 13:31:47 +0200
commitcea87fb2c38f175b9a0bd2a46617c155e67d4794 (patch)
tree20747e84f6210d7b97a624a697eeebaf6f616244 /ffprobe.c
parent9b032c65547a0c396902c101e7a5efdabb3025b9 (diff)
ffprobe: implement -i FILE option
Useful for mimicking the ffmpeg -i FILE syntax.
Diffstat (limited to 'ffprobe.c')
-rw-r--r--ffprobe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffprobe.c b/ffprobe.c
index 44252e59da..3139c28774 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -385,6 +385,7 @@ static const OptionDef options[] = {
{ "show_packets", OPT_BOOL, {(void*)&do_show_packets}, "show packets info" },
{ "show_streams", OPT_BOOL, {(void*)&do_show_streams}, "show streams info" },
{ "default", HAS_ARG | OPT_AUDIO | OPT_VIDEO | OPT_EXPERT, {(void*)opt_default}, "generic catch all option", "" },
+ { "i", HAS_ARG, {(void *)opt_input_file}, "read specified file", "input_file"},
{ NULL, },
};