projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5066f2
)
Fix lrint-related crash.
author
Carl Hetherington
<cth@carlh.net>
Wed, 26 Aug 2015 00:33:34 +0000
(
01:33
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 26 Aug 2015 00:33:34 +0000
(
01:33
+0100)
src/wx/film_viewer.cc
patch
|
blob
|
history
diff --git
a/src/wx/film_viewer.cc
b/src/wx/film_viewer.cc
index b43db0d7b04867d52f560e63d11bce06e8f21c4c..020d57ce3c4c5a6bc91369932c3f6598cf9e1749 100644
(file)
--- a/
src/wx/film_viewer.cc
+++ b/
src/wx/film_viewer.cc
@@
-379,7
+379,7
@@
FilmViewer::update_position_label ()
double const fps = _film->video_frame_rate ();
/* Count frame number from 1 ... not sure if this is the best idea */
- _frame_number->SetLabel (wxString::Format (wxT("%d"), lrint (_position.seconds() * fps) + 1));
+ _frame_number->SetLabel (wxString::Format (wxT("%
l
d"), lrint (_position.seconds() * fps) + 1));
_timecode->SetLabel (time_to_timecode (_position, fps));
}