diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-07-11 23:10:17 +0400 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-07-19 18:33:02 +0400 |
commit | 0fe8acf2d69bf4bce620128e48b62a957421a106 (patch) | |
tree | 9a1c4faf95dbd0f6932a590d2075a9e73bb90a00 /ffmpeg.c | |
parent | 52ab418588ba14a53b40a80ea32589f8844f3ce6 (diff) |
ffmpeg: add -(no)stdin option.
Allows to disable interaction from standard input.
Useful, for example, if ffmpeg is in the background process group.
Roughly the same result can be achieved with "ffmpeg ... < /dev/null"
but it requires a shell.
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -5878,6 +5878,8 @@ static const OptionDef options[] = { "add timings for each task" }, { "progress", HAS_ARG | OPT_EXPERT, {(void*)opt_progress}, "write program-readable progress information", "url" }, + { "stdin", OPT_BOOL | OPT_EXPERT, {(void*)&stdin_interaction}, + "enable or disable interaction on standard input" }, { "timelimit", HAS_ARG, {(void*)opt_timelimit}, "set max runtime in seconds", "limit" }, { "dump", OPT_BOOL | OPT_EXPERT, {(void*)&do_pkt_dump}, "dump each input packet" }, |