check_loudness ();
check_ffec_and_ffmc_in_smpte_feature ();
check_out_of_range_markers ();
+ check_text_languages ();
emit (bind(boost::ref(Progress), _("Examining closed captions")));
{
_thread.join ();
}
+
+
+void
+Hints::check_text_languages ()
+{
+ for (auto i: film()->content()) {
+ for (auto j: i->text) {
+ if (j->use() && !j->language()) {
+ hint (_("At least one piece of subtitle or closed caption content has no specified language. "
+ "It is advisable to set the language for each piece of subtitle or closed caption content in the \"Content→Timed Text\" tab"));
+ return;
+ }
+ }
+ }
+}
void check_loudness ();
void check_ffec_and_ffmc_in_smpte_feature ();
void check_out_of_range_markers ();
+ void check_text_languages ();
boost::thread _thread;
/** This is used to make a partial DCP containing only the subtitles and closed captions that