diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-06-05 00:09:31 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-06-05 00:09:31 +0200 |
| commit | e82c762164a3b1e0f25f1076516ad0af5e2274f7 (patch) | |
| tree | b09709978b7cbf41d5548abdae3abbb8f9b4593b | |
| parent | 7904ba56bba3a107087546b09139b60544f5c272 (diff) | |
Fix thinko causing crashes when loading projects with legacy video ratios.
| -rw-r--r-- | src/lib/video_content.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/video_content.cc b/src/lib/video_content.cc index b4ad30f70..631abc417 100644 --- a/src/lib/video_content.cc +++ b/src/lib/video_content.cc @@ -614,7 +614,7 @@ VideoContent::scaled_size (dcp::Size film_container) _legacy_ratio = optional<float>(); return fit_ratio_within(*_custom_ratio, film_container); } - _legacy_ratio = 0; + _legacy_ratio = boost::optional<float>(); } return auto_size; |
