From e39cf78842eb33fac1deaf095c549ce857743b74 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 11 May 2016 01:41:39 +0100 Subject: Fix a few crashes. --- test/4k_test.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/4k_test.cc b/test/4k_test.cc index 9ad2dfb58..db6e4f62f 100644 --- a/test/4k_test.cc +++ b/test/4k_test.cc @@ -38,13 +38,14 @@ BOOST_AUTO_TEST_CASE (fourk_test) shared_ptr film = new_test_film ("4k_test"); film->set_name ("4k_test"); shared_ptr c (new FFmpegContent (film, "test/data/test.mp4")); - c->video->set_scale (VideoContentScale (Ratio::from_id ("185"))); film->set_resolution (RESOLUTION_4K); film->set_dcp_content_type (DCPContentType::from_isdcf_name ("FTR")); film->set_container (Ratio::from_id ("185")); film->examine_and_add_content (c); wait_for_jobs (); + c->video->set_scale (VideoContentScale (Ratio::from_id ("185"))); + film->make_dcp (); wait_for_jobs (); -- cgit v1.2.3