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 /src/lib/ffmpeg_encoder.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 'src/lib/ffmpeg_encoder.cc')
| -rw-r--r-- | src/lib/ffmpeg_encoder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_encoder.cc b/src/lib/ffmpeg_encoder.cc index 7c641f5ab..572e7ae16 100644 --- a/src/lib/ffmpeg_encoder.cc +++ b/src/lib/ffmpeg_encoder.cc @@ -150,7 +150,7 @@ FFmpegEncoder::go () } for (int j = 0; j < gets_per_frame; ++j) { - pair<shared_ptr<PlayerVideo>, DCPTime> v = _butler->get_video (); + pair<shared_ptr<PlayerVideo>, DCPTime> v = _butler->get_video (true, 0); encoder->get(v.first->eyes())->video(v.first, v.second); } |
