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:55:53 +0100 |
commit | cb46a6bcbcb85b3910cc0cce78399686ab8efff6 (patch) | |
tree | 47709e77ce7cd376f91374fe3248d1dc0802b521 /libavformat/internal.h | |
parent | 323c9a8c523d772d7439cf386749f0243fecfa9a (diff) |
lavf: move AVStream.{nb_decoded_frames,mux_ts_offset} 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 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index efa5a8b238..b1112fe463 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -226,6 +226,17 @@ struct AVStreamInternal { } *info; /** + * Number of internally decoded frames, used internally in libavformat, do not access + * its lifetime differs from info which is why it is not in that structure. + */ + int nb_decoded_frames; + + /** + * Timestamp offset added to timestamps before muxing + */ + int64_t mux_ts_offset; + + /** * Internal data to check for wrapping of the time stamp */ int64_t pts_wrap_reference; |