diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-07-26 17:58:26 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-07-26 17:58:26 +0200 |
commit | f5a5b4344b7ecf9205e3ca291b3bb33c6ef4acb0 (patch) | |
tree | 2d6aca81868489eacf0537484d311ef73c7f6238 | |
parent | 1a7af514deccc4efa16e8f1dc21d3313e4331ca5 (diff) | |
download | ffmpeg-f5a5b4344b7ecf9205e3ca291b3bb33c6ef4acb0.tar.gz |
ffmpeg: doxyfy some comments and mention the timebase used in various timestamp fields.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | ffmpeg.c | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -225,13 +225,12 @@ typedef struct InputStream { int64_t start; /* time when read started */ /* predicted dts of the next packet read for this stream or (when there are - * several frames in a packet) of the next frame in current packet */ + * several frames in a packet) of the next frame in current packet (in AV_TIME_BASE units) */ int64_t next_dts; - /* dts of the last packet read for this stream */ - int64_t dts; + int64_t dts; ///< dts of the last packet read for this stream (in AV_TIME_BASE units) - int64_t next_pts; /* synthetic pts for the next decode frame */ - int64_t pts; /* current pts of the decoded frame */ + int64_t next_pts; ///< synthetic pts for the next decode frame (in AV_TIME_BASE units) + int64_t pts; ///< current pts of the decoded frame (in AV_TIME_BASE units) double ts_scale; int is_start; /* is 1 at the start and after a discontinuity */ int saw_first_ts; @@ -347,8 +346,8 @@ typedef struct OutputFile { AVFormatContext *ctx; AVDictionary *opts; 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 */ + int64_t recording_time; ///< desired length of the resulting file in microseconds == AV_TIME_BASE units + int64_t start_time; ///< start time in microseconds == AV_TIME_BASE units uint64_t limit_filesize; /* filesize limit expressed in bytes */ } OutputFile; |