From: Carl Hetherington Date: Sun, 20 Nov 2022 21:03:38 +0000 (+0100) Subject: _stream_states must be reset on seek otherwise #2368. X-Git-Tag: v2.16.34~8 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=9e49b5f78d1150f75a6016b4f01e2645a7c023b0 _stream_states must be reset on seek otherwise #2368. --- diff --git a/src/lib/player.cc b/src/lib/player.cc index 80b972dbe..40f726d10 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -1347,6 +1347,10 @@ Player::seek (DCPTime time, bool accurate) _silent.set_position (time); _last_video.clear (); + + for (auto& state: _stream_states) { + state.second.last_push_end = {}; + } }