summaryrefslogtreecommitdiff
path: root/src/lib
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
parent3ea29cc912632a74116b42f3f14a018e265722e9 (diff)
Modify for new libdcp API.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/dcp_subtitle_content.cc4
-rw-r--r--src/lib/dcp_subtitle_decoder.cc4
2 files changed, 4 insertions, 4 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 ());
}
diff --git a/src/lib/dcp_subtitle_decoder.cc b/src/lib/dcp_subtitle_decoder.cc
index f61c69a7b..2a9b52869 100644
--- a/src/lib/dcp_subtitle_decoder.cc
+++ b/src/lib/dcp_subtitle_decoder.cc
@@ -19,7 +19,7 @@
#include "dcp_subtitle_decoder.h"
#include "dcp_subtitle_content.h"
-#include <dcp/subtitle_content.h>
+#include <dcp/interop_subtitle_content.h>
using std::list;
using std::cout;
@@ -28,7 +28,7 @@ using boost::shared_ptr;
DCPSubtitleDecoder::DCPSubtitleDecoder (shared_ptr<const DCPSubtitleContent> content)
: SubtitleDecoder (content)
{
- dcp::SubtitleContent c (content->path (0), false);
+ dcp::InteropSubtitleContent c (content->path (0));
_subtitles = c.subtitles ();
_next = _subtitles.begin ();
}