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.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/video_view.cc b/src/wx/video_view.cc
index 1d10beb30..331095253 100644
--- a/src/wx/video_view.cc
+++ b/src/wx/video_view.cc
@@ -76,11 +76,11 @@ VideoView::get_next_frame (bool non_blocking)
do {
Butler::Error e;
auto pv = butler->get_video (!non_blocking, &e);
- if (e.code == Butler::Error::DIED) {
+ if (e.code == Butler::Error::Code::DIED) {
LOG_ERROR ("Butler died with %1", e.summary());
}
if (!pv.first) {
- return e.code == Butler::Error::AGAIN ? AGAIN : FAIL;
+ return e.code == Butler::Error::Code::AGAIN ? AGAIN : FAIL;
}
_player_video = pv;
} while (