projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Seek to last frame if a request is made beyond the end of the film.
[dcpomatic.git]
/
src
/
wx
/
film_viewer.cc
diff --git
a/src/wx/film_viewer.cc
b/src/wx/film_viewer.cc
index c020a3baf06d1222417673285bb360920952c8e6..bff2df0ffaf0b697b6794127cb64d4fb7688e1c0 100644
(file)
--- a/
src/wx/film_viewer.cc
+++ b/
src/wx/film_viewer.cc
@@
-462,7
+462,7
@@
FilmViewer::seek (DCPTime t, bool accurate)
}
if (t >= _film->length ()) {
- t = _film->length
();
+ t = _film->length
() - one_video_frame
();
}
suspend ();