Don't talk about cropping if we don't have any content size yet.
authorCarl Hetherington <cth@carlh.net>
Sat, 6 Jul 2013 17:44:05 +0000 (18:44 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 6 Jul 2013 17:44:05 +0000 (18:44 +0100)
src/wx/film_editor.cc

index fdac27a9b8fbd046d2c913b5ef60b556b71235e8..d81bce9b2068e50331d8753445662521f2141fa3 100644 (file)
@@ -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"),