]> git.sesse.net Git - mlt/blobdiff - src/modules/avformat/producer_avformat.c
Attempt at an aspect ratio clean up
[mlt] / src / modules / avformat / producer_avformat.c
index 85ee4a5a2b17f0d256932fe4d293fc50f3ef9a34..1cebb3f3c5c9496e43461a0f48cb64f539cfed96 100644 (file)
@@ -691,7 +691,7 @@ static void producer_set_up_video( mlt_producer this, mlt_frame frame )
                        else
                        {
                                int is_pal = mlt_properties_get_double( properties, "fps" ) == 25.0;
-                               mlt_properties_set_double( properties, "aspect_ratio", is_pal ? 128.0/117.0 : 72.0/79.0 );
+                               mlt_properties_set_double( properties, "aspect_ratio", is_pal ? 59.0/54.0 : 10.0/11.0 );
                        }
 
                        //fprintf( stderr, "AVFORMAT: sample aspect %f %dx%d\n", av_q2d( codec_context->sample_aspect_ratio ), codec_context->width, codec_context->height );