projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7904ba5
)
Fix thinko causing crashes when loading projects with legacy video ratios.
author
Carl Hetherington
<cth@carlh.net>
Thu, 4 Jun 2020 22:09:31 +0000
(
00:09
+0200)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 4 Jun 2020 22:09:31 +0000
(
00:09
+0200)
src/lib/video_content.cc
patch
|
blob
|
history
diff --git
a/src/lib/video_content.cc
b/src/lib/video_content.cc
index b4ad30f70d1c77ad523b57ad4edc65ff00a93faa..631abc417875e679fc066c49eb31e80c3f1b17b0 100644
(file)
--- 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;