add system build to autoconf/automake
[goodguy/history.git] / cinelerra-5.1 / plugins / 720to480 / 720to480.C
index 8ebd26cfb2d18e4c8845f1fbb6a88bc051f64776..5d6d2ba773e11a06209070a8d7124e5a64a733c2 100644 (file)
@@ -22,6 +22,7 @@
 #include "720to480.h"
 #include "clip.h"
 #include "bchash.h"
+#include "file.h"
 #include "filexml.h"
 #include "bcdisplayinfo.h"
 #include "keyframe.h"
@@ -203,7 +204,7 @@ double _720to480Main::get_framerate()
 int _720to480Main::load_defaults()
 {
        char directory[BCTEXTLEN];
-       sprintf(directory, "%s720to480.rc", BCASTDIR);
+       sprintf(directory, "%s/720to480.rc", File::get_config_path());
        
        defaults = new BC_Hash(directory);
        defaults->load();