summaryrefslogtreecommitdiff
path: root/src/wx/video_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/video_view.cc')
-rw-r--r--src/wx/video_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/video_view.cc b/src/wx/video_view.cc
index 331095253..1c645f11f 100644
--- a/src/wx/video_view.cc
+++ b/src/wx/video_view.cc
@@ -75,7 +75,7 @@ VideoView::get_next_frame (bool non_blocking)
do {
Butler::Error e;
- auto pv = butler->get_video (!non_blocking, &e);
+ auto pv = butler->get_video (non_blocking ? Butler::Behaviour::NON_BLOCKING : Butler::Behaviour::BLOCKING, &e);
if (e.code == Butler::Error::Code::DIED) {
LOG_ERROR ("Butler died with %1", e.summary());
}