summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wx/gl_video_view.cc2
-rw-r--r--src/wx/simple_video_view.cc2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/wx/gl_video_view.cc b/src/wx/gl_video_view.cc
index 1ac949759..9e53248f6 100644
--- a/src/wx/gl_video_view.cc
+++ b/src/wx/gl_video_view.cc
@@ -138,6 +138,8 @@ GLVideoView::check_for_butler_errors()
} catch (dcp::ReadError& e) {
error_dialog(get(), wxString::Format(_("Could not read DCP: %s"), std_to_wx(e.what())));
}
+
+ LOG_DEBUG_PLAYER("Latency %1", _viewer->average_latency());
}
diff --git a/src/wx/simple_video_view.cc b/src/wx/simple_video_view.cc
index 28638e267..c003be7b6 100644
--- a/src/wx/simple_video_view.cc
+++ b/src/wx/simple_video_view.cc
@@ -176,6 +176,8 @@ SimpleVideoView::timer ()
error_dialog(_panel, _("Could not play content"), std_to_wx(e.what()));
}
}
+
+ LOG_DEBUG_PLAYER("Latency %1", _viewer->average_latency());
}