diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2008-08-26 20:21:39 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2008-08-26 20:21:39 +0000 |
commit | 2a242f45148f4d784ca47b0145408e36102c3dd0 (patch) | |
tree | b3c0acfeb7c0dcda7fe59b38c34f1196d79fb4a4 /libavformat/mxfdec.c | |
parent | 67f718bd11e2ac4f639568040ef6b2fda9a9ba86 (diff) | |
download | ffmpeg-2a242f45148f4d784ca47b0145408e36102c3dd0.tar.gz |
mxfdec: set sample_aspect_ratio
Originally committed as revision 14983 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mxfdec.c')
-rw-r--r-- | libavformat/mxfdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 41a3797c84..fd747f9d8e 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -778,6 +778,7 @@ static int mxf_parse_structural_metadata(MXFContext *mxf) st->codec->width = descriptor->width; st->codec->height = descriptor->height; st->codec->bits_per_sample = descriptor->bits_per_sample; /* Uncompressed */ + st->sample_aspect_ratio = descriptor->aspect_ratio; st->need_parsing = AVSTREAM_PARSE_HEADERS; } else if (st->codec->codec_type == CODEC_TYPE_AUDIO) { container_ul = mxf_get_codec_ul(ff_mxf_essence_container_uls, essence_container_ul); |