[FFmpeg-cvslog] ffmpeg: add OPT_OUTPUT to -to option.
Nicolas George
git at videolan.org
Thu Mar 14 19:43:09 CET 2013
ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Thu Mar 14 19:18:51 2013 +0100| [da397173dfc7b5b84ed7e22f8c23d2e437942525] | committer: Nicolas George
ffmpeg: add OPT_OUTPUT to -to option.
Fix trac ticket #2355.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=da397173dfc7b5b84ed7e22f8c23d2e437942525
---
ffmpeg_opt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index 6b3ef3b..951a32a 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" },
More information about the ffmpeg-cvslog
mailing list