summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-06 18:44:05 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-06 18:44:05 +0100
commit2b4110534a7e3b2a2905c9f25226ba5c1ba4a167 (patch)
tree201c9fee548c9382eb547785ad4d50e20d84b98a /src
parent15bc5589432898a02183c4256cecf5f2a4da2de2 (diff)
Don't talk about cropping if we don't have any content size yet.
Diffstat (limited to 'src')
-rw-r--r--src/wx/film_editor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc
index fdac27a9b..d81bce9b2 100644
--- 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"),