More float -> double.
[dcpomatic.git] / src / wx / timing_panel.cc
index 8ce64777bc9441fcad37830b67bba8087281c34b..f92505c333863e1e093e9496246ec3eea028fd34 100644 (file)
@@ -248,7 +248,7 @@ TimingPanel::film_content_changed (int property)
        }
 
        if (property == VideoContentProperty::VIDEO_FRAME_RATE) {
-               set<float> check;
+               set<double> check;
                shared_ptr<VideoContent> vc;
                for (ContentList::const_iterator i = cl.begin (); i != cl.end(); ++i) {
                        shared_ptr<VideoContent> t = dynamic_pointer_cast<VideoContent> (*i);
@@ -346,7 +346,7 @@ TimingPanel::set_video_frame_rate ()
        for (ContentList::iterator i = c.begin(); i != c.end(); ++i) {
                shared_ptr<VideoContent> vc = dynamic_pointer_cast<VideoContent> (*i);
                if (vc) {
-                       vc->set_video_frame_rate (raw_convert<float> (wx_to_std (_video_frame_rate->GetValue ())));
+                       vc->set_video_frame_rate (raw_convert<double> (wx_to_std (_video_frame_rate->GetValue ())));
                }
                _set_video_frame_rate->Enable (false);
        }