+ c->write ("build/test/write_interop_subtitle_test3/subs.xml");
+
+ shared_ptr<dcp::Reel> reel (new dcp::Reel());
+ reel->add(shared_ptr<dcp::ReelSubtitleAsset>(new dcp::ReelSubtitleAsset(c, dcp::Fraction(24, 1), 6046, 0)));
+
+ string const issue_date = "2018-09-02T04:45:18+00:00";
+ string const issuer = "libdcp";
+ string const creator = "libdcp";
+ string const annotation_text = "Created by libdcp";
+
+ auto cpl = make_shared<dcp::CPL>("My film", dcp::ContentKind::FEATURE);
+ cpl->add (reel);
+ cpl->set_issuer (issuer);
+ cpl->set_creator (creator);
+ cpl->set_issue_date (issue_date);
+ cpl->set_annotation_text (annotation_text);
+ auto cv = cpl->content_version();
+ BOOST_REQUIRE (cv);
+ cv->label_text = "foo";
+ cpl->set_content_version (*cv);
+
+ dcp::DCP dcp ("build/test/write_interop_subtitle_test3");
+ dcp.add (cpl);
+ dcp.write_xml (dcp::Standard::INTEROP, issuer, creator, issue_date, annotation_text);