Missing texts for some new verification failures.
authorCarl Hetherington <cth@carlh.net>
Thu, 19 Mar 2020 21:26:40 +0000 (22:26 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 19 Mar 2020 21:26:40 +0000 (22:26 +0100)
src/wx/verify_dcp_dialog.cc

index c3cf5cc2250bf7db52698fddf6d13a83f64d4413..c11246d23a5fc9ac89128405e4e477a9fa63c333 100644 (file)
@@ -122,6 +122,15 @@ VerifyDCPDialog::VerifyDCPDialog (wxWindow* parent, shared_ptr<VerifyDCPJob> job
                                        );
                        }
                        break;
+               case dcp::VerificationNote::MISSING_ASSETMAP:
+                       text = _("No ASSETMAP or ASSETMAP.xml file was found.");
+                       break;
+               case dcp::VerificationNote::INTRINSIC_DURATION_TOO_SMALL:
+                       text = _("An asset has an instrinsic duration of less than 1 second, which is invalid.");
+                       break;
+               case dcp::VerificationNote::DURATION_TOO_SMALL:
+                       text = _("An asset has a duration of less than 1 second, which is invalid.");
+                       break;
                }
 
                _text->WriteText (text);