projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nested clips, big rework and cleanup, sams new icons, leaks and tweaks
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
localsession.C
diff --git
a/cinelerra-5.1/cinelerra/localsession.C
b/cinelerra-5.1/cinelerra/localsession.C
index 0008bcd30a1d7051253903cdc2e9de84692e3132..771f7f5e378c0aab867e493d883c1ace7d76d556 100644
(file)
--- a/
cinelerra-5.1/cinelerra/localsession.C
+++ b/
cinelerra-5.1/cinelerra/localsession.C
@@
-24,6
+24,7
@@
#include "clip.h"
#include "bchash.h"
#include "edl.h"
#include "clip.h"
#include "bchash.h"
#include "edl.h"
+#include "filesystem.h"
#include "filexml.h"
#include "floatauto.h"
#include "language.h"
#include "filexml.h"
#include "floatauto.h"
#include "language.h"
@@
-474,6
+475,12
@@
int LocalSession::outpoint_valid()
return out_point >= 0;
}
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);
+}