add missing xml closers, add fix for folder bug, add roundoff fixups
[goodguy/history.git] / cinelerra-5.1 / cinelerra / mediadb.C
index 2c057c098197d1dd0feaf85b1cfd25ac0f51533a..4f075ff9f631c3cde29cb35c2f5632994fce9e8c 100644 (file)
@@ -149,6 +149,8 @@ save(FileXML &xml)
                xml.tag.set_property("TIME", del->time);
                xml.tag.set_property("ACTION", del->action);
                xml.append_tag();
+               xml.tag.set_title("/DEL");
+               xml.append_tag();
                xml.append_newline();
        }
 
@@ -189,7 +191,7 @@ Clip(int clip_id, double start, double end, int index)
 Clip::
 ~Clip()
 {
-       Clips *clips = (Clips *)owner;
+       Clips *clips = (Clips *)list;
        if( clips && clips->current == this ) clips->current = 0;
 }
 
@@ -298,6 +300,8 @@ save(FileXML &xml)
                xml.tag.set_property("START", start);
                xml.tag.set_property("END", end);
                xml.append_tag();
+               xml.tag.set_title("/CLIP");
+               xml.append_tag();
                xml.append_newline();
        }