summaryrefslogtreecommitdiff
path: root/src/lib/dcp_subtitle_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-12-15 13:59:15 +0000
committerCarl Hetherington <cth@carlh.net>2014-12-15 13:59:15 +0000
commit784b55d18f4bddddd49fdb62475638336dcdcb21 (patch)
treed19dabb2c09861559209e7831c190a882e7b5354 /src/lib/dcp_subtitle_content.cc
parent3ea29cc912632a74116b42f3f14a018e265722e9 (diff)
Modify for new libdcp API.
Diffstat (limited to 'src/lib/dcp_subtitle_content.cc')
-rw-r--r--src/lib/dcp_subtitle_content.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dcp_subtitle_content.cc b/src/lib/dcp_subtitle_content.cc
index 798afbfc3..85c28d038 100644
--- a/src/lib/dcp_subtitle_content.cc
+++ b/src/lib/dcp_subtitle_content.cc
@@ -18,7 +18,7 @@
*/
#include "dcp_subtitle_content.h"
-#include <dcp/subtitle_content.h>
+#include <dcp/interop_subtitle_content.h>
#include <dcp/raw_convert.h>
#include "i18n.h"
@@ -47,7 +47,7 @@ void
DCPSubtitleContent::examine (shared_ptr<Job> job, bool calculate_digest)
{
Content::examine (job, calculate_digest);
- dcp::SubtitleContent sc (path (0), false);
+ dcp::InteropSubtitleContent sc (path (0));
_subtitle_language = sc.language ();
_length = DCPTime::from_seconds (sc.latest_subtitle_out().to_seconds ());
}