summaryrefslogtreecommitdiff
path: root/src/wx/video_view.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-10-11 12:27:22 +0200
committerCarl Hetherington <cth@carlh.net>2021-10-11 12:34:39 +0200
commit3fecd33dc2fd14ed487cb14bf9647ee5c0572868 (patch)
tree2c87c46c32772a5118c63abf0f43aacbd2d015a8 /src/wx/video_view.cc
parent805d4a48fa6e4d8e28fd582a2ae6ba78b8343144 (diff)
Cleanup: use enum class.
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 (