diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-08 14:25:10 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-08 14:25:10 +0100 |
| commit | f07623551706b849190c84059bac455088f8eb1e (patch) | |
| tree | 81360f73c4a52702921270c605087d0c5f03e42e /src/lib/content_factory.cc | |
| parent | 5665f1503d751391768bd7ed5894f2ecd63ea8fc (diff) | |
Adapt for changes to libdcp API.
Diffstat (limited to 'src/lib/content_factory.cc')
| -rw-r--r-- | src/lib/content_factory.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/content_factory.cc b/src/lib/content_factory.cc index f4d9fe4e9..db3a30500 100644 --- a/src/lib/content_factory.cc +++ b/src/lib/content_factory.cc @@ -29,7 +29,7 @@ #include "dcp_subtitle_content.h" #include "util.h" #include <libcxml/cxml.h> -#include <dcp/smpte_subtitle_content.h> +#include <dcp/smpte_subtitle_asset.h> using std::string; using std::list; @@ -87,7 +87,7 @@ content_factory (shared_ptr<const Film> film, boost::filesystem::path path) content.reset (new SubRipContent (film, path)); } else if (ext == ".xml") { content.reset (new DCPSubtitleContent (film, path)); - } else if (ext == ".mxf" && dcp::SMPTESubtitleContent::valid_mxf (path)) { + } else if (ext == ".mxf" && dcp::SMPTESubtitleAsset::valid_mxf (path)) { content.reset (new DCPSubtitleContent (film, path)); } |
