summaryrefslogtreecommitdiff
path: root/src/dcp.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-01-03 23:31:26 +0000
committerCarl Hetherington <cth@carlh.net>2015-01-03 23:31:26 +0000
commit35d8cf6d0e45cb5fff078dd984b492b3c83fa4ee (patch)
tree5a71dcc7a0fb52770ea28f9acd25cb0241833e16 /src/dcp.cc
parenta6ada5bc1f64c71ada4ebf53db297799eca6d333 (diff)
Add support for reading non-MXF-wrapped SMPTE subtitle files.
Diffstat (limited to 'src/dcp.cc')
-rw-r--r--src/dcp.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dcp.cc b/src/dcp.cc
index ea55454a..589e3b3b 100644
--- a/src/dcp.cc
+++ b/src/dcp.cc
@@ -110,6 +110,9 @@ DCP::read (bool keep_going, ReadErrors* errors)
}
/* Read all the assets from the asset map */
+ /* XXX: I think we should be looking at the PKL here to decide type, not
+ the extension of the file.
+ */
for (map<string, boost::filesystem::path>::const_iterator i = paths.begin(); i != paths.end(); ++i) {
boost::filesystem::path path = _directory / i->second;