Add some code to help with profiling the player.
[dcpomatic.git] / src / wx / film_viewer.cc
index 2247f3dd066b23eace5c03136519be8a76e62532..ccff35092929732a59da052a9744c782ecdf086b 100644 (file)
@@ -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
                );