- int mismatched = not_equiv.size();
- if( is_rendering && warn && mwindow && mismatched > 0 ) {
- fprintf(stderr, _("%d job EDLs do not match session edl\n"), mismatched);
- char string[BCTEXTLEN], *sp = string, *ep = sp+sizeof(string)-1;
- sp += snprintf(sp,ep-sp, _("%d job EDLs do not match session edl\n"),mismatched);
- for( int i=0; i<mismatched; ++i ) {
- int no = not_equiv[i].no; const char *path = not_equiv[i].path;
- fprintf(stderr, "%d: %s\n", no, path);
- sp += snprintf(sp,ep-sp, "%d: %s\n", no, path);
- }
- sp += snprintf(sp,ep-sp, _("press cancel to abandon batch render"));
- mwindow->show_warning(&warn, string);
- if( mwindow->wait_warning() ) {
- gui->button_enable();
- is_rendering = 0;
- ret = 1;
- }
- gui->warning->update(warn);
- }
-
- int empty = empty_jobs.size();
- if( is_rendering && empty > 0 ) {
- fprintf(stderr, _("%d job EDLs begin position beyond end of media\n"), empty);
- char string[BCTEXTLEN], *sp = string, *ep = sp+sizeof(string)-1;
- sp += snprintf(sp,ep-sp, _("%d job EDLs begin position beyond end of media\n"), empty);
- for( int i=0; i<empty; ++i ) {
- int no = empty_jobs[i].no; const char *path = empty_jobs[i].path;
- fprintf(stderr, "%d: %s\n", no, path);
- sp += snprintf(sp,ep-sp, "%d: %s\n", no, path);
- }
- sp += snprintf(sp,ep-sp, _("press cancel to abandon batch render"));
- mwindow->show_warning(0, string);
- if( mwindow->wait_warning() ) {
- gui->button_enable();
- is_rendering = 0;
- ret = 1;
- }