diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-07-24 20:42:50 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-07-24 20:42:50 +0100 |
| commit | 335ef709439cd3678f6813a3fb880110e4c9cb26 (patch) | |
| tree | 31ce9d5b82eb789d702133ab64493bd7b20ded93 /test/dcp_playback_test.cc | |
| parent | 697d21c3f9bc6243151372f988936662b9993510 (diff) | |
Optimise the feel of some GUI functions by doing the seek after
many content changes in an idle handler, rather than blocking
the UI update until the seek and image redisplay have finished.
Diffstat (limited to 'test/dcp_playback_test.cc')
| -rw-r--r-- | test/dcp_playback_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dcp_playback_test.cc b/test/dcp_playback_test.cc index 9fef1801b..1dda667a0 100644 --- a/test/dcp_playback_test.cc +++ b/test/dcp_playback_test.cc @@ -49,7 +49,7 @@ BOOST_AUTO_TEST_CASE (dcp_playback_test) ); float* audio_buffer = new float[2000*6]; while (true) { - pair<shared_ptr<PlayerVideo>, DCPTime> p = butler->get_video (); + pair<shared_ptr<PlayerVideo>, DCPTime> p = butler->get_video (true, 0); if (!p.first) { break; } |
