diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-03-06 22:01:45 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-03-06 22:01:45 +0000 |
| commit | 7e479483826381699915aa90cc26736e3d2c76ed (patch) | |
| tree | 40ce6ee1a2ec6c726701bf70320931fe2d761c1f /test | |
| parent | 79ce26d031d109177ba4b0f637fa2960345a37a3 (diff) | |
Build fixes.
Diffstat (limited to 'test')
| -rw-r--r-- | test/ffmpeg_seek_test.cc | 2 | ||||
| -rw-r--r-- | test/repeat_frame_test.cc | 2 | ||||
| -rw-r--r-- | test/seek_zero_test.cc | 2 | ||||
| -rw-r--r-- | test/skip_frame_test.cc | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/test/ffmpeg_seek_test.cc b/test/ffmpeg_seek_test.cc index 235a1a1d6..ccc59e064 100644 --- a/test/ffmpeg_seek_test.cc +++ b/test/ffmpeg_seek_test.cc @@ -101,7 +101,7 @@ BOOST_AUTO_TEST_CASE (ffmpeg_seek_test) film->set_name ("ffmpeg_seek_test"); film->set_container (Ratio::from_id ("185")); shared_ptr<FFmpegContent> c (new FFmpegContent (film, "test/data/staircase.mov")); - c->set_ratio (Ratio::from_id ("185")); + c->set_scale (VideoContentScale (Ratio::from_id ("185"))); film->examine_and_add_content (c); wait_for_jobs (); diff --git a/test/repeat_frame_test.cc b/test/repeat_frame_test.cc index 73b9ad615..6cedf9179 100644 --- a/test/repeat_frame_test.cc +++ b/test/repeat_frame_test.cc @@ -36,7 +36,7 @@ BOOST_AUTO_TEST_CASE (repeat_frame_test) film->set_container (Ratio::from_id ("185")); film->set_dcp_content_type (DCPContentType::from_pretty_name ("Test")); shared_ptr<FFmpegContent> c (new FFmpegContent (film, "test/data/red_24.mp4")); - c->set_ratio (Ratio::from_id ("185")); + c->set_scale (VideoContentScale (Ratio::from_id ("185"))); film->examine_and_add_content (c); wait_for_jobs (); diff --git a/test/seek_zero_test.cc b/test/seek_zero_test.cc index e0c52e2bf..22004bcb8 100644 --- a/test/seek_zero_test.cc +++ b/test/seek_zero_test.cc @@ -41,7 +41,7 @@ BOOST_AUTO_TEST_CASE (seek_zero_test) film->set_container (Ratio::from_id ("185")); film->set_dcp_content_type (DCPContentType::from_pretty_name ("Test")); shared_ptr<FFmpegContent> content (new FFmpegContent (film, "test/data/count300bd48.m2ts")); - content->set_ratio (Ratio::from_id ("185")); + content->set_scale (VideoContentScale (Ratio::from_id ("185"))); film->examine_and_add_content (content); wait_for_jobs (); diff --git a/test/skip_frame_test.cc b/test/skip_frame_test.cc index 4ac5192f2..61176a7c6 100644 --- a/test/skip_frame_test.cc +++ b/test/skip_frame_test.cc @@ -36,7 +36,7 @@ BOOST_AUTO_TEST_CASE (skip_frame_test) film->set_container (Ratio::from_id ("185")); film->set_dcp_content_type (DCPContentType::from_pretty_name ("Test")); shared_ptr<FFmpegContent> c (new FFmpegContent (film, "test/data/count300bd48.m2ts")); - c->set_ratio (Ratio::from_id ("185")); + c->set_scale (VideoContentScale (Ratio::from_id ("185"))); film->examine_and_add_content (c); wait_for_jobs (); |
