From d759f6003067e8376899b50e5692b2bbb4e870cc Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 6 Nov 2018 00:01:26 +0000 Subject: Add some code to help with profiling the player. --- src/wx/film_viewer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wx') 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(bind(&Log::dcp_log, _film->log().get(), _1, _2)), bind (&PlayerVideo::always_rgb, _1), false, true ); -- cgit v1.2.3