summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-11-06 00:01:26 +0000
committerCarl Hetherington <cth@carlh.net>2018-11-06 00:01:26 +0000
commitd759f6003067e8376899b50e5692b2bbb4e870cc (patch)
treed6c5846b2c391a663a2e096016070712f721192a /src/wx
parent0b3264bb9a4be0870c1f1491b54c2e0931a8f7af (diff)
Add some code to help with profiling the player.
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/film_viewer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc
index 2247f3dd0..ccff35092 100644
--- a/src/wx/film_viewer.cc
+++ b/src/wx/film_viewer.cc
@@ -271,7 +271,7 @@ FilmViewer::display_player_video ()
*/
_frame = _player_video.first->image (
- bind (&Log::dcp_log, _film->log().get(), _1, _2),
+ optional<dcp::NoteHandler>(bind(&Log::dcp_log, _film->log().get(), _1, _2)),
bind (&PlayerVideo::always_rgb, _1),
false, true
);