projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15bc558
)
Don't talk about cropping if we don't have any content size yet.
author
Carl Hetherington
<cth@carlh.net>
Sat, 6 Jul 2013 17:44:05 +0000
(18:44 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 6 Jul 2013 17:44:05 +0000
(18:44 +0100)
src/wx/film_editor.cc
patch
|
blob
|
history
diff --git
a/src/wx/film_editor.cc
b/src/wx/film_editor.cc
index fdac27a9b8fbd046d2c913b5ef60b556b71235e8..d81bce9b2068e50331d8753445662521f2141fa3 100644
(file)
--- a/
src/wx/film_editor.cc
+++ b/
src/wx/film_editor.cc
@@
-1372,7
+1372,7
@@
FilmEditor::setup_scaling_description ()
}
Crop const crop = _film->crop ();
- if (
crop.left || crop.right || crop.top || crop.bottom
) {
+ if (
(crop.left || crop.right || crop.top || crop.bottom) && _film->size() != libdcp::Size (0, 0)
) {
libdcp::Size const cropped = _film->cropped_size (_film->size ());
d << wxString::Format (
_("Cropped to %dx%d (%.2f:1)\n"),