*/
-#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;
using boost::shared_ptr;
DCPSubtitleDecoder::DCPSubtitleDecoder (shared_ptr<const DCPSubtitleContent> content)
: SubtitleDecoder (content)
{
- dcp::SubtitleContent c (content->path (0), false);
- _subtitles = c.subtitles ();
+ shared_ptr<dcp::SubtitleContent> c (load (content->path (0)));
+ _subtitles = c->subtitles ();
_next = _subtitles.begin ();
}
s.push_back (*_next);
text_subtitle (s);
++_next;
-
+
return false;
}