diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-06-01 14:59:01 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-06-01 14:59:01 +0100 |
| commit | 6ab8e99f22bfe61bddbd204d4265071729c1f37d (patch) | |
| tree | ec3d86e7bf2fa863c7e2391074f42c9540ea98c2 /src/lib | |
| parent | 3c86d70cf46ca11212ae2e2f4d711db0f478c2f5 (diff) | |
Stop old frames appearing in the preview after seeks.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/player.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc index 2e47da5bf..5c84ea5f5 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -895,6 +895,8 @@ Player::seek (DCPTime time, bool accurate) _last_video_time = optional<DCPTime>(); _last_audio_time = optional<DCPTime>(); } + + _last_video.clear (); } void |
