]> git.sesse.net Git - mlt/commitdiff
only automatically set strict=experimental when acodec=aac (3485119)
authorDan Dennedy <dan@dennedy.org>
Tue, 7 Feb 2012 03:54:26 +0000 (19:54 -0800)
committerDan Dennedy <dan@dennedy.org>
Tue, 7 Feb 2012 03:54:26 +0000 (19:54 -0800)
src/modules/avformat/consumer_avformat.c

index 78edffae360f1e57701da1a9ce81784b70606339..5c6ef2edad56909c21fa43642339a69ff5479935 100644 (file)
@@ -1216,6 +1216,10 @@ static void *consumer_thread( void *arg )
                                acodec = mlt_properties_get( properties, "_acodec" );
                                audio_codec = avcodec_find_encoder_by_name( acodec );
                        }
+                       else if ( !strcmp( acodec, "aac" ) )
+                       {
+                               mlt_properties_set( properties, "astrict", "experimental" );
+                       }
                }
                else
                {