[FFmpeg-soc] [soc]: r3338 - mxf/mxfenc.c
spyfeng
subversion at mplayerhq.hu
Sat Aug 16 07:01:04 CEST 2008
Author: spyfeng
Date: Sat Aug 16 07:01:04 2008
New Revision: 3338
Log:
set display aspect ratio in mpeg2video descriptor
Modified:
mxf/mxfenc.c
Modified: mxf/mxfenc.c
==============================================================================
--- mxf/mxfenc.c (original)
+++ mxf/mxfenc.c Sat Aug 16 07:01:04 2008
@@ -688,8 +688,8 @@ static int mxf_write_mpeg_video_desc(AVF
put_be32(pb, st->codec->height);
mxf_write_local_tag(pb, 8, 0x320E);
- put_be32(pb, st->time_base.den);
- put_be32(pb, st->time_base.num);
+ put_be32(pb, st->codec->height * st->codec->sample_aspect_ratio.den);
+ put_be32(pb, st->codec->width * st->codec->sample_aspect_ratio.num);
// tmp write, will modified later
mxf_write_local_tag(pb, 16, 0x3201);
More information about the FFmpeg-soc
mailing list