From 33a0138bd11b90472a5af86abb3637580b4f3c7f Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 8 Jun 2015 15:04:43 +0100 Subject: Remove slightly strange InteropSubtitleAsset constructor; add default one for SMPTESubtitleAsset. --- test/write_subtitle_test.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/write_subtitle_test.cc b/test/write_subtitle_test.cc index 958fc981..577eadec 100644 --- a/test/write_subtitle_test.cc +++ b/test/write_subtitle_test.cc @@ -29,8 +29,10 @@ using boost::shared_ptr; /* Write some subtitle content as Interop XML and check that it is right */ BOOST_AUTO_TEST_CASE (write_subtitle_test) { - dcp::InteropSubtitleAsset c ("Test", "EN"); + dcp::InteropSubtitleAsset c; c.set_reel_number ("1"); + c.set_language ("EN"); + c.set_movie_title ("Test"); c.add ( dcp::SubtitleString ( -- cgit v1.2.3