add clip folders, icon margins, fix safe regions, update neophyte, fix folder edl...
[goodguy/history.git] / cinelerra-5.1 / cinelerra / indexable.C
index 293d321ed567a6b971b3a1cb74df0433824b8dd5..2d32e1943fc84e45f9d0969b50fed0b6318c5e26 100644 (file)
@@ -23,6 +23,7 @@
 #include "edl.h"
 #include "indexable.h"
 #include "language.h"
+#include "localsession.h"
 
 #include <string.h>
 
@@ -113,8 +114,11 @@ int64_t Indexable::get_video_frames()
        return 0;
 }
 
-
-
-
-
+const char *Indexable::get_title()
+{
+       if( is_asset ) return path;
+       EDL *edl = (EDL*)this;
+       if( !edl->parent_edl || awindow_folder == AW_PROXY_FOLDER ) return path;
+       return edl->local_session->clip_title;
+}