diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-08-30 22:29:22 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-08-30 22:29:22 +0100 |
| commit | 49d779c5289ecfaf9acaac429251b2ffd032228a (patch) | |
| tree | ad70dc32628c9cb61efcc47d39e3b3947231a987 /src/dcp.h | |
| parent | 29b507d5ed965367c2daa8c68316a1b336edd614 (diff) | |
Hack; separate DCP asset and CPL reads.
Diffstat (limited to 'src/dcp.h')
| -rw-r--r-- | src/dcp.h | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -69,15 +69,16 @@ public: */ DCP (std::string directory); - /** Read an existing DCP's data. + void read (bool require_mxfs = true); + + /** Read an existing DCP's assets. * * The DCP's XML metadata will be examined, and you can then look at the contents * of the DCP. - * - * @param require_mxfs true to throw an exception if MXF files are missing; setting to false - * can be useful for testing, but normally it should be set to true. */ - void read (bool require_mxfs = true); + void read_assets (); + + void read_cpls (bool require_mxfs = true); /** Write the required XML files to the directory that was * passed into the constructor. @@ -145,6 +146,8 @@ private: std::string asset_map; }; + Files _files; + /** the directory that we are writing to */ std::string _directory; /** our CPLs */ |
