Remove some backwards compatibility that will cause problems in an upcoming commit.
[dcpomatic.git] / src / lib / video_content.cc
index 1d1d010a95662193bc52ab84e5dacb2b8746fb10..ca0076fba8784e4601f46069a0b1714f7bf36152 100644 (file)
@@ -105,12 +105,6 @@ VideoContent::VideoContent (Content* parent, cxml::ConstNodePtr node, int versio
        _size.width = node->number_child<int> ("VideoWidth");
        _size.height = node->number_child<int> ("VideoHeight");
 
-       /* Backwards compatibility */
-       auto r = node->optional_number_child<double>("VideoFrameRate");
-       if (r) {
-               _parent->set_video_frame_rate (r.get ());
-       }
-
        _use = node->optional_bool_child("Use").get_value_or(true);
        _length = node->number_child<Frame> ("VideoLength");