]> git.sesse.net Git - ffmpeg/commitdiff
ffmpeg: mark sseof as an input-only option
authorGyan Doshi <ffmpeg@gyani.pro>
Thu, 7 Jun 2018 17:45:35 +0000 (23:15 +0530)
committerGyan Doshi <ffmpeg@gyani.pro>
Fri, 8 Jun 2018 19:07:03 +0000 (00:37 +0530)
doc/ffmpeg.texi
fftools/ffmpeg_opt.c

index 79da1ae14da87721f4ea3300b72587ea9ddf79e9..3717f22d4202c7b7f951322c1b18afdb5bbe35b1 100644 (file)
@@ -508,7 +508,7 @@ input until the timestamps reach @var{position}.
 @var{position} must be a time duration specification,
 see @ref{time duration syntax,,the Time duration section in the ffmpeg-utils(1) manual,ffmpeg-utils}.
 
-@item -sseof @var{position} (@emph{input/output})
+@item -sseof @var{position} (@emph{input})
 
 Like the @code{-ss} option but relative to the "end of file". That is negative
 values are earlier in the file, 0 is at EOF.
index 36bce4465ac2b7da293a2e51dadf7354203847fa..a2ecddae7191a59a253ad53da89d3952db5a3560 100644 (file)
@@ -3340,7 +3340,7 @@ const OptionDef options[] = {
                         OPT_INPUT | OPT_OUTPUT,                      { .off = OFFSET(start_time) },
         "set the start time offset", "time_off" },
     { "sseof",          HAS_ARG | OPT_TIME | OPT_OFFSET |
-                        OPT_INPUT | OPT_OUTPUT,                      { .off = OFFSET(start_time_eof) },
+                        OPT_INPUT,                                   { .off = OFFSET(start_time_eof) },
         "set the start time offset relative to EOF", "time_off" },
     { "seek_timestamp", HAS_ARG | OPT_INT | OPT_OFFSET |
                         OPT_INPUT,                                   { .off = OFFSET(seek_timestamp) },