nested clips, big rework and cleanup, sams new icons, leaks and tweaks
[goodguy/history.git] / cinelerra-5.1 / cinelerra / localsession.C
index 0008bcd30a1d7051253903cdc2e9de84692e3132..771f7f5e378c0aab867e493d883c1ace7d76d556 100644 (file)
@@ -24,6 +24,7 @@
 #include "clip.h"
 #include "bchash.h"
 #include "edl.h"
+#include "filesystem.h"
 #include "filexml.h"
 #include "floatauto.h"
 #include "language.h"
@@ -474,6 +475,12 @@ int LocalSession::outpoint_valid()
        return out_point >= 0;
 }
 
-
+void LocalSession::set_clip_path(Indexable *indexable)
+{
+       char string[BCTEXTLEN];
+       FileSystem fs;
+       fs.extract_name(string, indexable->path);
+       strcpy(clip_title, string);
+}