From: ddennedy Date: Fri, 26 Dec 2008 05:15:44 +0000 (+0000) Subject: consumer_avformat.c: bugfix rendering to widescreen PAL DV. X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=cdf8aba7c1a3ad2ea9a7226c932d7d7d38a6d1cc;p=melted consumer_avformat.c: bugfix rendering to widescreen PAL DV. git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1287 d19143bc-622f-0410-bfdd-b5b2a6649095 --- diff --git a/src/modules/avformat/consumer_avformat.c b/src/modules/avformat/consumer_avformat.c index 3dd40dc..10019ef 100644 --- a/src/modules/avformat/consumer_avformat.c +++ b/src/modules/avformat/consumer_avformat.c @@ -502,7 +502,7 @@ static AVStream *add_video_stream( mlt_consumer this, AVFormatContext *oc, int c } else if ( ar == 16.0/15.0 ) // 4:3 PAL { - c->sample_aspect_ratio.num = 159; + c->sample_aspect_ratio.num = 59; c->sample_aspect_ratio.den = 54; } else if ( ar == 32.0/27.0 ) // 16:9 NTSC @@ -513,7 +513,7 @@ static AVStream *add_video_stream( mlt_consumer this, AVFormatContext *oc, int c else // 16:9 PAL { c->sample_aspect_ratio.num = 118; - c->sample_aspect_ratio.den = 81; + c->sample_aspect_ratio.den = 82; } } else if ( mlt_properties_get( properties, "aspect" ) )