/*
- Copyright (C) 2016-2019 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2016-2020 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
*/
+#include "dcp_content_type.h"
#include "hints.h"
#include "types.h"
#include "film.h"
check_vob ();
check_3d_in_2d ();
check_loudness ();
+ check_ffec_and_ffmc_in_smpte_feature ();
emit (bind(boost::ref(Progress), _("Examining closed captions")));
DCPOMATIC_ASSERT (film);
return film;
}
+
+
+void
+Hints::check_ffec_and_ffmc_in_smpte_feature ()
+{
+ shared_ptr<const Film> f = film();
+ if (!f->interop() && f->dcp_content_type()->libdcp_kind() == dcp::FEATURE && (!f->marker(dcp::FFEC) || !f->marker(dcp::FFMC))) {
+ hint (_("SMPTE DCPs with the type FTR (feature) should have markers for the first frame of end credits (FFEC) and the first frame of moving credits (FFMC). You should add these markers using the 'Markers' button in the DCP tab."));
+ }
+}