summaryrefslogtreecommitdiff
path: root/src/wx/video_view.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-11-20 21:25:55 +0100
committerCarl Hetherington <cth@carlh.net>2020-01-08 21:56:47 +0100
commit4f7e9f125716a27ed9e2a8e30f067100cbee773a (patch)
tree40238a1414cc4d96675cf8a27fe4e1ab328d5480 /src/wx/video_view.h
parent5ee3fcbd31065275faad4c06a7805dcbcb338812 (diff)
Fix display when there is no film.
Diffstat (limited to 'src/wx/video_view.h')
-rw-r--r--src/wx/video_view.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/video_view.h b/src/wx/video_view.h
index 8d763204c..142cfd022 100644
--- a/src/wx/video_view.h
+++ b/src/wx/video_view.h
@@ -114,6 +114,7 @@ private:
std::pair<boost::shared_ptr<PlayerVideo>, dcpomatic::DCPTime> _player_video;
int _video_frame_rate;
+ /** length of the film we are playing, or 0 if there is none */
dcpomatic::DCPTime _length;
};