_stream_states must be reset on seek otherwise #2368.
authorCarl Hetherington <cth@carlh.net>
Sun, 20 Nov 2022 21:03:38 +0000 (22:03 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 25 Nov 2022 22:42:55 +0000 (23:42 +0100)
src/lib/player.cc

index 80b972dbe6a4d5ca2c600ce0bdeed3d9b89a1feb..40f726d107b716f7f51606e0e28f93a07f351cc9 100644 (file)
@@ -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 = {};
+       }
 }