[FFmpeg-devel] [PATCH] ffmpeg: document the unit for the -fs option parameter

Stefano Sabatini stefasab at gmail.com
Mon Feb 6 13:20:37 CET 2012


---
 doc/ffmpeg.texi |    2 +-
 ffmpeg.c        |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index 943301a..26f4e36 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -143,7 +143,7 @@ Stop writing the output after its duration reaches @var{duration}.
 @var{duration} may be a number in seconds, or in @code{hh:mm:ss[.xxx]} form.
 
 @item -fs @var{limit_size} (@emph{output})
-Set the file size limit.
+Set the file size limit, expressed in bytes.
 
 @item -ss @var{position} (@emph{input/output})
 When used as an input option (before @code{-i}), seeks in this input file to
diff --git a/ffmpeg.c b/ffmpeg.c
index ac667af..ba63ca9 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -305,7 +305,7 @@ typedef struct OutputFile {
     int ost_index;       /* index of the first stream in output_streams */
     int64_t recording_time; /* desired length of the resulting file in microseconds */
     int64_t start_time;     /* start time in microseconds */
-    uint64_t limit_filesize;
+    uint64_t limit_filesize;    /* filesize limit expressed in bytes */
 } OutputFile;
 
 static InputStream *input_streams   = NULL;
-- 
1.7.5.4



More information about the ffmpeg-devel mailing list