diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-12-19 02:13:12 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-12-19 02:13:12 +0100 |
| commit | ea67859b383a31496a604e65a166974b20a1c94e (patch) | |
| tree | 1740b2658f5033b59442e3958ba77b53905b16fa /test | |
| parent | b5335ed37e52c216a6773789c0edba5f335c8df2 (diff) | |
Hack: delay decisions about subtitle position late enough that we can refresh the preview image quickly.attic/hack-faster-subtitle-moving
Diffstat (limited to 'test')
| -rw-r--r-- | test/client_server_test.cc | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/test/client_server_test.cc b/test/client_server_test.cc index df854f9f3..23b9032e9 100644 --- a/test/client_server_test.cc +++ b/test/client_server_test.cc @@ -99,11 +99,14 @@ BOOST_AUTO_TEST_CASE (client_server_test_rgb) ColourConversion(), VIDEO_RANGE_FULL, weak_ptr<Content>(), - optional<Frame>() + optional<dcpomatic::DCPTime>(), + 24 ) ); + /* XXX_b pvf->set_text (PositionImage (sub_image, Position<int> (50, 60))); + */ shared_ptr<DCPVideo> frame ( new DCPVideo ( @@ -184,11 +187,14 @@ BOOST_AUTO_TEST_CASE (client_server_test_yuv) ColourConversion(), VIDEO_RANGE_FULL, weak_ptr<Content>(), - optional<Frame>() + optional<dcpomatic::DCPTime>(), + 24 ) ); + /* XXX_b pvf->set_text (PositionImage (sub_image, Position<int> (50, 60))); + */ shared_ptr<DCPVideo> frame ( new DCPVideo ( @@ -256,7 +262,8 @@ BOOST_AUTO_TEST_CASE (client_server_test_j2k) ColourConversion(), VIDEO_RANGE_FULL, weak_ptr<Content>(), - optional<Frame>() + optional<dcpomatic::DCPTime>(), + 24 ) ); @@ -284,7 +291,8 @@ BOOST_AUTO_TEST_CASE (client_server_test_j2k) PresetColourConversion::all().front().conversion, VIDEO_RANGE_FULL, weak_ptr<Content>(), - optional<Frame>() + optional<dcpomatic::DCPTime>(), + 24 ) ); |
