[FFmpeg-cvslog] r14983 - trunk/libavformat/mxfdec.c

aurel subversion
Tue Aug 26 22:21:39 CEST 2008


Author: aurel
Date: Tue Aug 26 22:21:39 2008
New Revision: 14983

Log:
mxfdec: set sample_aspect_ratio


Modified:
   trunk/libavformat/mxfdec.c

Modified: trunk/libavformat/mxfdec.c
==============================================================================
--- trunk/libavformat/mxfdec.c	(original)
+++ trunk/libavformat/mxfdec.c	Tue Aug 26 22:21:39 2008
@@ -778,6 +778,7 @@ static int mxf_parse_structural_metadata
             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);




More information about the ffmpeg-cvslog mailing list