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:53:45 +0100 |
commit | c1b916580ae92abca583d9afa2f9f64165292dd8 (patch) | |
tree | 4d9d2b9a3b671f444545bc48a96994088f74602e /libavformat/internal.h | |
parent | 8741f1fe2663f0d5adeaa21c98d6b03cac9dbaa9 (diff) |
lavf: move AVStream.{inject_global_side_data,display_aspect_ratio} 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 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index 30b4df9181..09bab4796d 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -224,6 +224,18 @@ struct AVStreamInternal { int fps_last_dts_idx; } *info; + + /** + * Internal data to inject global side data + */ + int inject_global_side_data; + + /** + * display aspect ratio (0 if unknown) + * - encoding: unused + * - decoding: Set by libavformat to calculate sample_aspect_ratio internally + */ + AVRational display_aspect_ratio; }; #ifdef __GNUC__ |