diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-08 15:04:43 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-08 15:04:43 +0100 |
| commit | 33a0138bd11b90472a5af86abb3637580b4f3c7f (patch) | |
| tree | 20de262f02f60fbc9d94491c4dec8e9ecfbc10a7 /test | |
| parent | b9dc0fbc6252e2c73dd2376b43d1a64b263aba43 (diff) | |
Remove slightly strange InteropSubtitleAsset constructor; add default one for SMPTESubtitleAsset.
Diffstat (limited to 'test')
| -rw-r--r-- | test/write_subtitle_test.cc | 4 |
1 files changed, 3 insertions, 1 deletions
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 ( |
