]> git.sesse.net Git - mlt/commitdiff
consumer_avformat.c: revert erroneous change that slipped into the previous commit
authorddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Mon, 12 May 2008 17:16:04 +0000 (17:16 +0000)
committerddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Mon, 12 May 2008 17:16:04 +0000 (17:16 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1124 d19143bc-622f-0410-bfdd-b5b2a6649095

src/modules/avformat/consumer_avformat.c

index 260f9286ed514b607d9497025024d77cd235bb8d..d2c6fe137f33ea32be1268c7454d92f9e6f69dfc 100644 (file)
@@ -429,7 +429,7 @@ static AVStream *add_video_stream( mlt_consumer this, AVFormatContext *oc, int c
        if ( st != NULL ) 
        {
                char *pix_fmt = mlt_properties_get( properties, "pix_fmt" );
-               double ar = mlt_properties_get_double( properties, "aspect_ratio" );
+               double ar = mlt_properties_get_double( properties, "display_ratio" );
                AVCodecContext *c = st->codec;
 
                // Establish defaults from AVOptions