mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-04 05:57:49 +02:00
ffmpeg: doxyfy some comments and mention the timebase used in various timestamp fields.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
1a7af514de
commit
f5a5b4344b
13
ffmpeg.c
13
ffmpeg.c
@ -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 {
|
|||||||
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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user