X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fsrt_subtitle_test.cc;h=0c1f0716166eff0c0a1a9265ab1e736bb3195563;hb=2155a17fb217fc511495ed50e39e385965f6ccd3;hp=3064abcc6e5cffd474200d7d27eb24f58130fee8;hpb=6cc7359c1af897f334dab5ba455707ce0c59af9d;p=dcpomatic.git diff --git a/test/srt_subtitle_test.cc b/test/srt_subtitle_test.cc index 3064abcc6..0c1f07161 100644 --- a/test/srt_subtitle_test.cc +++ b/test/srt_subtitle_test.cc @@ -76,7 +76,7 @@ BOOST_AUTO_TEST_CASE (srt_subtitle_test2) content->only_text()->set_use (true); content->only_text()->set_burn (false); /* Use test/data/subrip2.srt as if it were a font file */ - content->only_text()->fonts().front()->set_file (FontFiles::NORMAL, "test/data/subrip2.srt"); + content->only_text()->fonts().front()->set_file("test/data/subrip2.srt"); film->make_dcp (); BOOST_REQUIRE (!wait_for_jobs());