Commit f5a5b434 authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg: doxyfy some comments and mention the timebase used in various timestamp fields.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 1a7af514
...@@ -225,13 +225,12 @@ typedef struct InputStream { ...@@ -225,13 +225,12 @@ typedef struct InputStream {
int64_t start; /* time when read started */ int64_t start; /* time when read started */
/* predicted dts of the next packet read for this stream or (when there are /* 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; int64_t next_dts;
/* dts of the last packet read for this stream */ int64_t dts; ///< dts of the last packet read for this stream (in AV_TIME_BASE units)
int64_t dts;
int64_t next_pts; /* synthetic pts for the next decode 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 */ int64_t pts; ///< current pts of the decoded frame (in AV_TIME_BASE units)
double ts_scale; double ts_scale;
int is_start; /* is 1 at the start and after a discontinuity */ int is_start; /* is 1 at the start and after a discontinuity */
int saw_first_ts; int saw_first_ts;
...@@ -347,8 +346,8 @@ typedef struct OutputFile { ...@@ -347,8 +346,8 @@ typedef struct OutputFile {
AVFormatContext *ctx; AVFormatContext *ctx;
AVDictionary *opts; AVDictionary *opts;
int ost_index; /* index of the first stream in output_streams */ 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 recording_time; ///< desired length of the resulting file in microseconds == AV_TIME_BASE units
int64_t start_time; /* start time in microseconds */ int64_t start_time; ///< start time in microseconds == AV_TIME_BASE units
uint64_t limit_filesize; /* filesize limit expressed in bytes */ uint64_t limit_filesize; /* filesize limit expressed in bytes */
} OutputFile; } OutputFile;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment