diff options
author | James Almer <jamrial@gmail.com> | 2021-05-31 17:15:56 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-06-04 22:36:39 -0300 |
commit | ab4f299e237708e81af473c88ec5acf0dd13d8eb (patch) | |
tree | c7c480a64f65dcc9f627c8c7f066c0621e307b11 /fftools/ffmpeg.h | |
parent | 57de80673cb42c04097067d304dc04df1bfed3e8 (diff) | |
download | ffmpeg-ab4f299e237708e81af473c88ec5acf0dd13d8eb.tar.gz |
fftools/ffmpeg: remove usage of internal timestamp AVStream fields
They should not be accessed outside of libavformat.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r-- | fftools/ffmpeg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h index 606f2afe0c..e9d30fbd67 100644 --- a/fftools/ffmpeg.h +++ b/fftools/ffmpeg.h @@ -316,6 +316,7 @@ typedef struct InputStream { /* 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 (in AV_TIME_BASE units) */ int64_t next_dts; + int64_t first_dts; ///< dts of the first packet read for this stream (in AV_TIME_BASE units) 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 (in AV_TIME_BASE units) |