From 335ef709439cd3678f6813a3fb880110e4c9cb26 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 24 Jul 2019 20:42:50 +0100 Subject: 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. --- src/lib/ffmpeg_encoder.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/ffmpeg_encoder.cc') 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, DCPTime> v = _butler->get_video (); + pair, DCPTime> v = _butler->get_video (true, 0); encoder->get(v.first->eyes())->video(v.first, v.second); } -- cgit v1.2.3