X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_profile.c;h=db97909e47253fc0829d4732634a5fa41fd77f01;hb=726173b197d08ae28f9dbc0495d56d0ce34d4567;hp=c9c67d26f6b1b7a4b62731bc35cc7dd9315a1112;hpb=d57832919959e117a68d856b172c090746fc3399;p=melted diff --git a/src/framework/mlt_profile.c b/src/framework/mlt_profile.c index c9c67d2..db97909 100644 --- a/src/framework/mlt_profile.c +++ b/src/framework/mlt_profile.c @@ -102,15 +102,14 @@ mlt_profile mlt_profile_load_file( const char *file ) // Set MLT_NORMALISATION to appease legacy modules char *profile_name = mlt_environment( "MLT_PROFILE" ); if ( strstr( profile_name, "_ntsc" ) || - strstr( profile_name, "_atsc" ) || - strstr( profile_name, "_60i" ) || - strstr( profile_name, "_30p" ) ) + strstr( profile_name, "_60" ) || + strstr( profile_name, "_30" ) ) { mlt_environment_set( "MLT_NORMALISATION", "NTSC" ); } else if ( strstr( profile_name, "_pal" ) || - strstr( profile_name, "_50i" ) || - strstr( profile_name, "_25p" ) ) + strstr( profile_name, "_50" ) || + strstr( profile_name, "_25" ) ) { mlt_environment_set( "MLT_NORMALISATION", "PAL" ); }