]> git.sesse.net Git - mlt/blobdiff - src/modules/fezzik/producer_fezzik.c
move binary modules to libdir - affects MLT_REPOSITORY
[mlt] / src / modules / fezzik / producer_fezzik.c
index f5350c82aac18339d9b6df9ad5c6768fd1ce1137..5b3eeeb3f84bf3376a1ddf6f91820b6d6c9208c6 100644 (file)
@@ -73,7 +73,7 @@ static mlt_producer create_producer( mlt_profile profile, char *file )
                if ( dictionary == NULL )
                {
                        char temp[ 1024 ];
-                       sprintf( temp, "%s/fezzik.dict", mlt_factory_prefix( ) );
+                       sprintf( temp, "%s/fezzik.dict", mlt_environment( "MLT_DATA" ) );
                        dictionary = mlt_properties_load( temp );
                        mlt_factory_register_for_clean_up( dictionary, ( mlt_destructor )mlt_properties_close );
                }
@@ -132,7 +132,7 @@ static void attach_normalisers( mlt_profile profile, mlt_producer producer )
        if ( normalisers == NULL )
        {
                char temp[ 1024 ];
-               sprintf( temp, "%s/fezzik.ini", mlt_factory_prefix( ) );
+               sprintf( temp, "%s/fezzik.ini", mlt_environment( "MLT_DATA" ) );
                normalisers = mlt_properties_load( temp );
                mlt_factory_register_for_clean_up( normalisers, ( mlt_destructor )mlt_properties_close );
        }