summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-04-13 17:31:16 +0100
committerCarl Hetherington <cth@carlh.net>2016-05-18 11:50:29 +0100
commita4039c6db3802f19fe58e2bfd806fa08c4ed31ab (patch)
treea426d44d9d69cd3996707b94e8078e540a50be65 /src
parent7749e3cc9ac7b51c2a77ee4f2c3c99e381747716 (diff)
Fix a couple of small type errors.
Diffstat (limited to 'src')
-rw-r--r--src/wx/video_panel.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wx/video_panel.cc b/src/wx/video_panel.cc
index 718c3dd86..f14cc2605 100644
--- a/src/wx/video_panel.cc
+++ b/src/wx/video_panel.cc
@@ -500,18 +500,18 @@ VideoPanel::setup_sensitivity ()
void
VideoPanel::fade_in_changed ()
{
- BOOST_FOREACH (shared_ptr<VideoContent> i, _parent->selected_video ()) {
+ BOOST_FOREACH (shared_ptr<Content> i, _parent->selected_video ()) {
int const vfr = _parent->film()->video_frame_rate ();
- i->set_fade_in (_fade_in->get (vfr).frames_round (vfr));
+ i->video->set_fade_in (_fade_in->get (vfr).frames_round (vfr));
}
}
void
VideoPanel::fade_out_changed ()
{
- BOOST_FOREACH (shared_ptr<VideoContent> i, _parent->selected_video ()) {
+ BOOST_FOREACH (shared_ptr<Content> i, _parent->selected_video ()) {
int const vfr = _parent->film()->video_frame_rate ();
- i->set_fade_out (_fade_out->get (vfr).frames_round (vfr));
+ i->video->set_fade_out (_fade_out->get (vfr).frames_round (vfr));
}
}