diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-10-09 09:22:36 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2020-10-28 14:54:51 +0100 |
commit | 323c9a8c523d772d7439cf386749f0243fecfa9a (patch) | |
tree | 767fd1547dc5bca77697a6dcc6379d02457417f9 /libavformat/internal.h | |
parent | 36d7c1dee8d1fa1d81130932d2df93a8866c535f (diff) | |
download | ffmpeg-323c9a8c523d772d7439cf386749f0243fecfa9a.tar.gz |
lavf: move AVStream.{pts_wrap_*,update_initial_durations_done} to AVStreamInternal
Those are private fields, no reason to have them exposed in a public
header.
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index 95cb5b5d60..efa5a8b238 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -226,6 +226,28 @@ struct AVStreamInternal { } *info; /** + * Internal data to check for wrapping of the time stamp + */ + int64_t pts_wrap_reference; + + /** + * Options for behavior, when a wrap is detected. + * + * Defined by AV_PTS_WRAP_ values. + * + * If correction is enabled, there are two possibilities: + * If the first time stamp is near the wrap point, the wrap offset + * will be subtracted, which will create negative time stamps. + * Otherwise the offset will be added. + */ + int pts_wrap_behavior; + + /** + * Internal data to prevent doing update_initial_durations() twice + */ + int update_initial_durations_done; + + /** * Internal data to generate dts from pts */ int64_t pts_reorder_error[MAX_REORDER_DELAY+1]; |