summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-11-30 23:49:04 +0100
committerCarl Hetherington <cth@carlh.net>2020-12-01 00:20:51 +0100
commit5b6b01ea778064a0b0125ea8ebd9272a534cccd2 (patch)
treeb9fcb7a7336240e700686c256b6aa29d8b7f7fa7 /src/wx
parentd1a57244622f5f4160d0f58af7fe71a829175345 (diff)
Give Butler a weak_ptr<Film>
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/film_viewer.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc
index e91cdc9a0..bca3631ab 100644
--- a/src/wx/film_viewer.cc
+++ b/src/wx/film_viewer.cc
@@ -212,6 +212,7 @@ FilmViewer::recreate_butler ()
_butler.reset(
new Butler(
+ _film,
_player,
Config::instance()->audio_mapping(_audio_channels),
_audio_channels,