summaryrefslogtreecommitdiff
path: root/src/wx/simple_video_view.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-27 01:44:20 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-27 01:44:20 +0100
commit1d2a51bdc8315fa7283be329669860e435a1513f (patch)
tree7f1ccaf99bd89f61377f36405f12178586d65f8f /src/wx/simple_video_view.cc
parent886c256f532e0f43bcd7f6f9924147c151293cab (diff)
Use enum class for VideoRange.
Diffstat (limited to 'src/wx/simple_video_view.cc')
-rw-r--r--src/wx/simple_video_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/simple_video_view.cc b/src/wx/simple_video_view.cc
index 9ebb8c82f..cd138e239 100644
--- a/src/wx/simple_video_view.cc
+++ b/src/wx/simple_video_view.cc
@@ -221,7 +221,7 @@ SimpleVideoView::update ()
_state_timer.set ("get image");
set_image (
- player_video().first->image(bind(&PlayerVideo::force, _1, AV_PIX_FMT_RGB24), VIDEO_RANGE_FULL, false, true)
+ player_video().first->image(bind(&PlayerVideo::force, _1, AV_PIX_FMT_RGB24), VideoRange::FULL, false, true)
);
_state_timer.set ("ImageChanged");