Mercurial > libavformat.hg
changeset 3781:b7bd38b16272 libavformat
mxfdec: set sample_aspect_ratio
author | aurel |
---|---|
date | Tue, 26 Aug 2008 20:21:39 +0000 |
parents | 261cd3e672e5 |
children | b0ab5575a1bc |
files | mxfdec.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mxfdec.c Tue Aug 26 15:58:25 2008 +0000 +++ b/mxfdec.c Tue Aug 26 20:21:39 2008 +0000 @@ -778,6 +778,7 @@ 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);