projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67775a6
)
Seek to last frame if a request is made beyond the end of the film.
author
Carl Hetherington
<cth@carlh.net>
Tue, 14 Apr 2020 22:27:09 +0000
(
00:27
+0200)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 14 Apr 2020 22:27:09 +0000
(
00:27
+0200)
src/wx/film_viewer.cc
patch
|
blob
|
history
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 ();