Add set_metadata().
authorCarl Hetherington <cth@carlh.net>
Sat, 3 May 2014 11:32:08 +0000 (12:32 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 3 May 2014 11:32:08 +0000 (12:32 +0100)
src/cpl.h

index 3bff4c4eabcd9677974bc191c389ac9f4766b571..75b9d701c7ee5ae6cf14bf238cf3c2a520cca274 100644 (file)
--- a/src/cpl.h
+++ b/src/cpl.h
@@ -99,6 +99,9 @@ public:
        bool encrypted () const;
 
        void set_mxf_keys (Key);
+       void set_metadata (XMLMetadata m) {
+               _metadata = m;
+       }
 
        void write_xml (
                boost::filesystem::path file,