summaryrefslogtreecommitdiff
path: root/src/lib/butler.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-04-26 11:01:44 +0100
committerCarl Hetherington <cth@carlh.net>2017-04-26 11:01:44 +0100
commitd0ecbc635fa3931fe6a588c3ffb038d1f3e1b11c (patch)
tree08bf7ebd62667e011c26f6d0115da3fd3a81b43b /src/lib/butler.h
parent3a7adf45e7820902e446c56114e25075e0a42a1f (diff)
Fix video flickering when seeking near the end of the film.
Diffstat (limited to 'src/lib/butler.h')
-rw-r--r--src/lib/butler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/butler.h b/src/lib/butler.h
index 2cb49c1a6..c2c5d8ca5 100644
--- a/src/lib/butler.h
+++ b/src/lib/butler.h
@@ -58,19 +58,19 @@ private:
VideoRingBuffers _video;
AudioRingBuffers _audio;
+ /** mutex to protect _pending_seek_position, _pending_seek_acurate, _finished, _died, _stop_thread */
boost::mutex _mutex;
boost::condition _summon;
boost::condition _arrived;
boost::optional<DCPTime> _pending_seek_position;
bool _pending_seek_accurate;
-
bool _finished;
bool _died;
+ bool _stop_thread;
AudioMapping _audio_mapping;
int _audio_channels;
- bool _stop_thread;
bool _disable_audio;
boost::signals2::scoped_connection _player_video_connection;