- dcp::SubtitleContent c (content->path (0), false);
- _subtitles = c.subtitles ();
+ subtitle.reset (
+ new SubtitleDecoder (
+ this,
+ content->subtitle,
+ bind (&DCPSubtitleDecoder::image_subtitles_during, this, _1, _2),
+ bind (&DCPSubtitleDecoder::text_subtitles_during, this, _1, _2)
+ )
+ );
+
+ shared_ptr<dcp::SubtitleAsset> c (load (content->path (0)));
+ _subtitles = c->subtitles ();