rework histogram_bezier, init wm icon set_icon(gg), update de.po+msg/txt
[goodguy/history.git] / cinelerra-5.1 / cinelerra / mediadb.C
index 2c057c098197d1dd0feaf85b1cfd25ac0f51533a..2f903711ddc4881dce1af8807079cacf28957cd7 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;
 }
 
@@ -289,7 +291,7 @@ save(FileXML &xml)
        xml.tag.set_property("PID", pid);
        xml.append_tag();
        xml.append_newline();
-       
+
        for( int idx=0; idx<count; ++idx ) {
                int id;  double start, end;
                if( !get_clip(idx, id, start, end) ) continue;
@@ -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();
        }