- argument_option(i, argc, argv, "-n", "--name", &claimed, &error, &name);
+ argument_option(i, argc, argv, "-n", "--name", &claimed, &error, &_name);
argument_option(i, argc, argv, "-t", "--template", &claimed, &error, &template_name_string);
argument_option(i, argc, argv, "-c", "--dcp-content-type", &claimed, &error, &dcp_content_type_string);
argument_option(i, argc, argv, "-f", "--dcp-frame-rate", &claimed, &error, &dcp_frame_rate_int);
argument_option(i, argc, argv, "-t", "--template", &claimed, &error, &template_name_string);
argument_option(i, argc, argv, "-c", "--dcp-content-type", &claimed, &error, &dcp_content_type_string);
argument_option(i, argc, argv, "-f", "--dcp-frame-rate", &claimed, &error, &dcp_frame_rate_int);
- dcp_content_type = DCPContentType::from_isdcf_name(dcp_content_type_string);
- if (!dcp_content_type) {
+ _dcp_content_type = DCPContentType::from_isdcf_name(dcp_content_type_string);
+ if (!_dcp_content_type) {
error = String::compose("%1: unrecognised DCP content type '%2'", argv[0], dcp_content_type_string);
return;
}
if (!container_ratio_string.empty()) {
error = String::compose("%1: unrecognised DCP content type '%2'", argv[0], dcp_content_type_string);
return;
}
if (!container_ratio_string.empty()) {
error = String::compose("%1: j2k-bandwidth must be between 10 and %2 Mbit/s", argv[0], (Config::instance()->maximum_j2k_bandwidth() / 1000000));
return;
}
error = String::compose("%1: j2k-bandwidth must be between 10 and %2 Mbit/s", argv[0], (Config::instance()->maximum_j2k_bandwidth() / 1000000));
return;
}
auto film = std::make_shared<Film>(output_dir);
dcpomatic_log = film->log();
dcpomatic_log->set_types(Config::instance()->log_types());
auto film = std::make_shared<Film>(output_dir);
dcpomatic_log = film->log();
dcpomatic_log->set_types(Config::instance()->log_types());
- film->set_dcp_content_type(dcp_content_type);
- film->set_interop(standard == dcp::Standard::INTEROP);
- film->set_use_isdcf_name(!no_use_isdcf_name);
- film->set_encrypted(encrypt);
- film->set_three_d(threed);
- if (twok) {
+ film->set_dcp_content_type(_dcp_content_type);
+ film->set_interop(_standard == dcp::Standard::INTEROP);
+ film->set_use_isdcf_name(!_no_use_isdcf_name);
+ film->set_encrypted(_encrypt);
+ film->set_three_d(_threed);
+ if (_twok) {