summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2014-11-17 17:54:32 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2014-11-17 17:54:32 +0100
commit92c07acce736c64592c4c3232b4d0dacbe2f27f7 (patch)
tree5d87a82c9d2c820c37f929a8226408e19b5a685a /libavformat/avformat.h
parent0b3c23054279fe49ed550735a34cfbed67ce68cd (diff)
Read (display) aspect ratio from mxf files.
Fixes ticket #4107.
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h7
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);