X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_factory.c;fp=src%2Fframework%2Fmlt_factory.c;h=3d7759c5c22deccaeeeb576f54e1d332d50326d8;hb=9eb9a8df9b30d23c517eb7e5e999a2d34dd71c21;hp=709dc5ebfa09d1033e08ee2d92f5e86205a63b9a;hpb=90d959b0ae338fb5a50cd6a94f61bbc7106aab70;p=melted diff --git a/src/framework/mlt_factory.c b/src/framework/mlt_factory.c index 709dc5e..3d7759c 100644 --- a/src/framework/mlt_factory.c +++ b/src/framework/mlt_factory.c @@ -116,10 +116,7 @@ int mlt_factory_init( const char *prefix ) // Load the most appropriate profile // MLT_PROFILE preferred if ( getenv( "MLT_PROFILE" ) ) - { - if ( !mlt_profile_select( mlt_environment( "MLT_PROFILE" ) ) ) - mlt_profile_load_file( mlt_environment( "MLT_PROFILE" ) ); - } + mlt_profile_select( mlt_environment( "MLT_PROFILE" ) ); // MLT_NORMALISATION backwards compatibility else if ( strcmp( mlt_environment( "MLT_NORMALISATION" ), "PAL" ) ) mlt_profile_select( "dv_ntsc" );