summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-04-18 22:13:57 +0100
committerCarl Hetherington <cth@carlh.net>2017-04-19 23:04:32 +0100
commit43b063d5bd4019451e477dc9161f7cc0e82ea337 (patch)
treef2818e46d284e1ac3f7552c5deea17336630cbf5 /src/lib
parent32def2da6e6413b898b493dd03308e17b9737e9d (diff)
Should clear audio too when seeking.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/butler.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/butler.cc b/src/lib/butler.cc
index e88c29455..b8c572608 100644
--- a/src/lib/butler.cc
+++ b/src/lib/butler.cc
@@ -133,6 +133,7 @@ Butler::seek (DCPTime position, bool accurate)
{
boost::mutex::scoped_lock lm (_mutex);
_video.clear ();
+ _audio.clear ();
_finished = false;
_pending_seek_position = position;
_pending_seek_accurate = accurate;