update ffmpeg to 4.1, add sketcher plugin, crikey tweaks, titler colorpicker, keyfram...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / filexml.h
index 70950384a5bda391a42dc20f0ad1c25c64d3c4b3..602a411e625ffe47ca54b72b2a5fb77dfb30b918 100644 (file)
@@ -27,6 +27,7 @@
 #include <limits.h>
 
 #include "arraylist.h"
+#include "mutex.h"
 #include "keyframe.inc"
 #include "filexml.inc"
 #include "sizes.h"
@@ -38,9 +39,11 @@ class XMLBuffer
        long bsz, isz;
        unsigned char *inp, *outp, *bfr, *lmt;
        int destroy;
+       Mutex *share_lock;
 
        int demand(long len);
        friend class KeyFrame;
+       friend class FileXML;
 public:
        XMLBuffer(long buf_size=0x1000, long max_size=LONG_MAX, int del=1);
        XMLBuffer(long buf_size, char *buf, int del=0); // writing