projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't busy-wait when there's nothing to play.
[dcpomatic.git]
/
src
/
wx
/
video_view.h
diff --git
a/src/wx/video_view.h
b/src/wx/video_view.h
index ad492bd435fec51707c7786239c2a96ddd9c3580..f9e0670435ed13edaa2e919cc373e11d12a0a48d 100644
(file)
--- a/
src/wx/video_view.h
+++ b/
src/wx/video_view.h
@@
-107,7
+107,7
@@
public:
protected:
bool get_next_frame (bool non_blocking);
-
int
time_until_next_frame () const;
+
boost::optional<int>
time_until_next_frame () const;
dcpomatic::DCPTime one_video_frame () const;
int video_frame_rate () const {