Fix a couple of small type errors.
authorCarl Hetherington <cth@carlh.net>
Wed, 13 Apr 2016 16:31:16 +0000 (17:31 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 18 May 2016 10:50:29 +0000 (11:50 +0100)
src/wx/video_panel.cc

index 718c3dd86ce3e3f99dcae9d67f44af6afcf6d6af..f14cc26056102995fef1b5d9fa08bd57631305a7 100644 (file)
@@ -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));
        }
 }