Build fix for Debian 8.
[dcpomatic.git] / test / srt_subtitle_test.cc
index 4497e400086d98b43199f7dce674db497eb6701a..fd9632a31d444b537ab9fe2631158aad3b429460 100644 (file)
@@ -63,7 +63,7 @@ BOOST_AUTO_TEST_CASE (srt_subtitle_test2)
 
        content->set_use_subtitles (true);
        /* Use test/data/subrip2.srt as if it were a font file  */
-       content->fonts().front()->file = "test/data/subrip2.srt";
+       content->fonts().front()->set_file ("test/data/subrip2.srt");
        
        film->make_dcp ();
        wait_for_jobs ();