summaryrefslogtreecommitdiff
path: root/src/cpl.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-08-27 20:13:53 +0100
committerCarl Hetherington <cth@carlh.net>2013-08-27 20:13:53 +0100
commitc9cf540a0fee44b724d1f879489dd7e7f51c60c7 (patch)
treeb7791ada0bd8a628c12bf90b9545bf5ec27e18a7 /src/cpl.h
parent0db83488a33b025d70c588ebd635554dd8be4f88 (diff)
Basics of OV/supplemental support when reading.
Diffstat (limited to 'src/cpl.h')
-rw-r--r--src/cpl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cpl.h b/src/cpl.h
index 94ab877a..57d4373f 100644
--- a/src/cpl.h
+++ b/src/cpl.h
@@ -32,6 +32,7 @@ namespace libdcp {
namespace parse {
class AssetMap;
+ class AssetMapAsset;
}
class Asset;
@@ -46,7 +47,7 @@ class CPL
{
public:
CPL (std::string directory, std::string name, ContentKind content_kind, int length, int frames_per_second);
- CPL (std::string directory, std::string file, boost::shared_ptr<const parse::AssetMap> asset_map, bool require_mxfs = true);
+ CPL (std::string directory, std::string file, std::list<boost::shared_ptr<const parse::AssetMap> > asset_maps, bool require_mxfs = true);
void add_reel (boost::shared_ptr<Reel> reel);
@@ -106,6 +107,8 @@ public:
void add_kdm (KDM const &);
private:
+ boost::shared_ptr<parse::AssetMapAsset> asset_from_id (std::list<boost::shared_ptr<const parse::AssetMap> > asset_maps, std::string id) const;
+
std::string _directory;
/** the name of the DCP */
std::string _name;