aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg_opt.c
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2013-03-14 19:18:51 +0100
committerNicolas George <nicolas.george@normalesup.org>2013-03-14 19:32:22 +0100
commitda397173dfc7b5b84ed7e22f8c23d2e437942525 (patch)
treedde6cce3c67d7f36bed0644e51a9483c7de33966 /ffmpeg_opt.c
parent9ace0dbe41c67e08291d705a8ec4b0ecbf209783 (diff)
downloadffmpeg-da397173dfc7b5b84ed7e22f8c23d2e437942525.tar.gz
ffmpeg: add OPT_OUTPUT to -to option.
Fix trac ticket #2355.
Diffstat (limited to 'ffmpeg_opt.c')
-rw-r--r--ffmpeg_opt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index 6b3ef3bbd3..951a32a86f 100644
--- a/ffmpeg_opt.c
+++ b/ffmpeg_opt.c
@@ -2519,7 +2519,7 @@ const OptionDef options[] = {
{ "t", HAS_ARG | OPT_TIME | OPT_OFFSET | OPT_INPUT | OPT_OUTPUT, { .off = OFFSET(recording_time) },
"record or transcode \"duration\" seconds of audio/video",
"duration" },
- { "to", HAS_ARG | OPT_TIME | OPT_OFFSET, { .off = OFFSET(stop_time) },
+ { "to", HAS_ARG | OPT_TIME | OPT_OFFSET | OPT_OUTPUT, { .off = OFFSET(stop_time) },
"record or transcode stop time", "time_stop" },
{ "fs", HAS_ARG | OPT_INT64 | OPT_OFFSET | OPT_OUTPUT, { .off = OFFSET(limit_filesize) },
"set the limit file size in bytes", "limit_size" },