Modify for new libdcp API.
[dcpomatic.git] / src / lib / dcp_subtitle_decoder.cc
index 20a9f32fee031ddd99fc03f19ab1d5182614e6f7..2a9b52869ce770693f85cb44e8ac7e9d1af78a22 100644 (file)
@@ -17,9 +17,9 @@
 
 */
 
-#include <dcp/subtitle_content.h>
 #include "dcp_subtitle_decoder.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 ();
 }