summaryrefslogtreecommitdiff
path: root/src/wx/video_panel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/video_panel.cc')
-rw-r--r--src/wx/video_panel.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/video_panel.cc b/src/wx/video_panel.cc
index aa8e946da..68ff7c369 100644
--- a/src/wx/video_panel.cc
+++ b/src/wx/video_panel.cc
@@ -426,7 +426,7 @@ VideoPanel::fade_in_changed ()
VideoContentList vc = _parent->selected_video ();
for (VideoContentList::const_iterator i = vc.begin(); i != vc.end(); ++i) {
int const vfr = _parent->film()->video_frame_rate ();
- (*i)->set_fade_in (_fade_in->get (vfr).frames (vfr));
+ (*i)->set_fade_in (_fade_in->get (vfr).frames_round (vfr));
}
}
@@ -436,6 +436,6 @@ VideoPanel::fade_out_changed ()
VideoContentList vc = _parent->selected_video ();
for (VideoContentList::const_iterator i = vc.begin(); i != vc.end(); ++i) {
int const vfr = _parent->film()->video_frame_rate ();
- (*i)->set_fade_out (_fade_out->get (vfr).frames (vfr));
+ (*i)->set_fade_out (_fade_out->get (vfr).frames_round (vfr));
}
}