]> git.sesse.net Git - mlt/blobdiff - src/framework/mlt_factory.c
Fix compile error on Windows.
[mlt] / src / framework / mlt_factory.c
index cf1261822b7bb855dce20a1665e70ca3145c647c..b49f16b4b4dc1e19fe0efb6530a48096f28a12d2 100644 (file)
 #define PREFIX_LIB "/lib/mlt"
 /** the default subdirectory of the install prefix for holding module (plugin) data */
 #define PREFIX_DATA "/share/mlt"
-#else
-/** the default subdirectory of the libdir for holding modules (plugins) */
-#define PREFIX_LIB LIBDIR "/mlt"
-/** the default subdirectory of the install prefix for holding module (plugin) data */
-#define PREFIX_DATA MLTDATADIR "/mlt"
 #endif
 
 /** holds the full path to the modules directory - initialized and retained for the entire session */
@@ -413,8 +408,12 @@ void mlt_factory_close( )
        {
                mlt_properties_close( event_object );
                event_object = NULL;
+#if !defined(WIN32)
+               // XXX something in here is causing Shotcut/Win32 to not exit completely
+               // under certain conditions: e.g. play a playlist.
                mlt_properties_close( global_properties );
                global_properties = NULL;
+#endif
                if ( repository )
                {
                        mlt_repository_close( repository );