film->log()->set_level ((Log::Level) log_level);
cout << "\nMaking ";
- if (film->dcp_ab()) {
+ if (film->ab()) {
cout << "A/B ";
}
cout << "DCP for " << film->name() << "\n";
cout << "Test mode: " << (test_mode ? "yes" : "no") << "\n";
- cout << "Content: " << film->content() << "\n";
+// cout << "Content: " << film->content() << "\n";
pair<string, string> const f = Filter::ffmpeg_strings (film->filters ());
cout << "Filters: " << f.first << " " << f.second << "\n";
- film->make_dcp (true);
+ film->make_dcp ();
bool should_stop = false;
bool first = true;
+ bool error = false;
while (!should_stop) {
dvdomatic_sleep (5);
if ((*i)->finished_in_error ()) {
++finished_in_error;
+ error = true;
}
if (!progress && (*i)->finished_in_error ()) {
}
}
- return 0;
+ return error ? EXIT_FAILURE : EXIT_SUCCESS;
}