diff options
| -rw-r--r-- | ChangeLog | 2 | ||||
| -rw-r--r-- | src/wx/timing_panel.cc | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,7 @@ 2013-08-29 Carl Hetherington <cth@carlh.net> + * Fix strange rounding of still image durations (#204). + * Remove limitation to numbers and periods in the server host name dialogue box. diff --git a/src/wx/timing_panel.cc b/src/wx/timing_panel.cc index f11a4e5e6..ba645cf32 100644 --- a/src/wx/timing_panel.cc +++ b/src/wx/timing_panel.cc @@ -106,7 +106,7 @@ TimingPanel::length_changed () shared_ptr<StillImageContent> ic = dynamic_pointer_cast<StillImageContent> (c); if (ic) { - ic->set_video_length (_length->get (_editor->film()->video_frame_rate()) * ic->video_frame_rate() / TIME_HZ); + ic->set_video_length (rint (_length->get (_editor->film()->video_frame_rate()) * ic->video_frame_rate() / TIME_HZ)); } } |
