Be a bit more defensive in a test that is failing on Windows.
[dcpomatic.git] / test / render_subtitles_test.cc
index cd696c26907370d9d2adc981d3975153390fa129..e5de60c4ec64f719c32eb53fa2a7f4bd1b6d3447 100644 (file)
@@ -55,6 +55,7 @@ add (std::list<StringText>& s, std::string text, bool italic, bool bold, bool un
                                dcp::HAlign::LEFT,
                                1,
                                dcp::VAlign::TOP,
+                               0,
                                dcp::Direction::LTR,
                                text,
                                dcp::Effect::NONE,
@@ -64,7 +65,8 @@ add (std::list<StringText>& s, std::string text, bool italic, bool bold, bool un
                                0
                                ),
                        2,
-                       std::shared_ptr<dcpomatic::Font>()
+                       std::shared_ptr<dcpomatic::Font>(),
+                       dcp::Standard::SMPTE
                        )
                );
 }