projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
602fd58
)
Fix slider position updating on play.
author
Carl Hetherington
<cth@carlh.net>
Tue, 18 Dec 2012 21:33:48 +0000
(21:33 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 18 Dec 2012 21:33:48 +0000
(21:33 +0000)
src/wx/film_viewer.cc
patch
|
blob
|
history
diff --git
a/src/wx/film_viewer.cc
b/src/wx/film_viewer.cc
index f4ad700ad82be0ab7b76ec8555e681f74af01703..e4c02d8eb3855a6de1ed8c52ed62bb211d3db4fa 100644
(file)
--- a/
src/wx/film_viewer.cc
+++ b/
src/wx/film_viewer.cc
@@
-172,7
+172,7
@@
FilmViewer::timer (wxTimerEvent& ev)
get_frame ();
if (_film->length()) {
- int const new_slider_position = 4096 * _decoders.video->last_source_time() / (_film->length().get()
*
_film->frames_per_second());
+ int const new_slider_position = 4096 * _decoders.video->last_source_time() / (_film->length().get()
/
_film->frames_per_second());
if (new_slider_position != _slider->GetValue()) {
_slider->SetValue (new_slider_position);
}