diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-11-17 17:54:32 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-11-17 17:54:32 +0100 |
commit | 92c07acce736c64592c4c3232b4d0dacbe2f27f7 (patch) | |
tree | 5d87a82c9d2c820c37f929a8226408e19b5a685a /libavformat/avformat.h | |
parent | 0b3c23054279fe49ed550735a34cfbed67ce68cd (diff) | |
download | ffmpeg-92c07acce736c64592c4c3232b4d0dacbe2f27f7.tar.gz |
Read (display) aspect ratio from mxf files.
Fixes ticket #4107.
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 56ab4e100d..7b5de4fee0 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -1103,6 +1103,13 @@ typedef struct AVStream { * Keys are separated from values by '='. */ char *recommended_encoder_configuration; + + /** + * display aspect ratio (0 if unknown) + * - encoding: unused + * - decoding: Set by libavformat to calculate sample_aspect_ratio internally + */ + AVRational display_aspect_ratio; } AVStream; AVRational av_stream_get_r_frame_rate(const AVStream *s); |