diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-11-22 01:48:37 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-11-26 00:09:27 +0100 |
| commit | aaf6845e130ac208cee524536b67c54bd1ce8ed9 (patch) | |
| tree | b7de1c6abaaddf74a6524eaf9870595575d6e818 /src/lib/video_content.cc | |
| parent | 5334f1c120ed248f22a5751d47555cf94bf9b4a9 (diff) | |
Remove some backwards compatibility that will cause problems in an upcoming commit.
Diffstat (limited to 'src/lib/video_content.cc')
| -rw-r--r-- | src/lib/video_content.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/video_content.cc b/src/lib/video_content.cc index 1d1d010a9..ca0076fba 100644 --- a/src/lib/video_content.cc +++ b/src/lib/video_content.cc @@ -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"); |
