X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ffilexml.h;h=602a411e625ffe47ca54b72b2a5fb77dfb30b918;hp=70950384a5bda391a42dc20f0ad1c25c64d3c4b3;hb=b4184445f396e16260ed90e645a280149aeda8c0;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1 diff --git a/cinelerra-5.1/cinelerra/filexml.h b/cinelerra-5.1/cinelerra/filexml.h index 70950384..602a411e 100644 --- a/cinelerra-5.1/cinelerra/filexml.h +++ b/cinelerra-5.1/cinelerra/filexml.h @@ -27,6 +27,7 @@ #include #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