From: Carl Hetherington Date: Sat, 6 Jul 2013 17:44:05 +0000 (+0100) Subject: Don't talk about cropping if we don't have any content size yet. X-Git-Tag: v2.0.48~1337^2~302^2~5 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=2b4110534a7e3b2a2905c9f25226ba5c1ba4a167;p=dcpomatic.git Don't talk about cropping if we don't have any content size yet. --- 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"),