Protect the public API of Player with a mutex, since
authorCarl Hetherington <cth@carlh.net>
Thu, 26 Jul 2018 19:59:04 +0000 (20:59 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 26 Jul 2018 19:59:04 +0000 (20:59 +0100)
commit3009a585f5222a83213c786e3c564c740f450d18
treeba65c1dc9ca643656160a6b7045f14c185fdd8f8
parent8484d278ec6905502bd1178cc58d8cb7b3c12df0
Protect the public API of Player with a mutex, since
seek() and pass() may be called from the Butler thread
ad the same time as other Player methods are called from
the GUI thread (by FilmViewer and ClosedCaptionViewDialog).
src/lib/butler.cc
src/lib/player.cc
src/lib/player.h
src/wx/film_viewer.cc