, dcp_content_type (0)
, container_ratio (0)
, still_length (10)
- , standard (dcp::SMPTE)
+ , standard (dcp::Standard::SMPTE)
, no_use_isdcf_name (false)
- , no_sign (false)
, fourk (false)
{
string dcp_content_type_string = "TST";
string config_dir_string;
string output_dir_string;
int j2k_bandwidth_int = 0;
- VideoFrameType next_frame_type = VIDEO_FRAME_TYPE_2D;
+ auto next_frame_type = VideoFrameType::TWO_D;
int i = 1;
while (i < argc) {
encrypt = claimed = true;
} else if (a == "--no-use-isdcf-name") {
no_use_isdcf_name = claimed = true;
- } else if (a == "--no-sign") {
- no_sign = claimed = true;
} else if (a == "--threed") {
threed = claimed = true;
} else if (a == "--left-eye") {
- next_frame_type = VIDEO_FRAME_TYPE_3D_LEFT;
+ next_frame_type = VideoFrameType::THREE_D_LEFT;
claimed = true;
} else if (a == "--right-eye") {
- next_frame_type = VIDEO_FRAME_TYPE_3D_RIGHT;
+ next_frame_type = VideoFrameType::THREE_D_RIGHT;
claimed = true;
} else if (a == "--fourk") {
fourk = true;
c.path = a;
c.frame_type = next_frame_type;
content.push_back (c);
- next_frame_type = VIDEO_FRAME_TYPE_2D;
+ next_frame_type = VideoFrameType::TWO_D;
}
}
return;
}
+ if (standard_string == "interop") {
+ standard = dcp::Standard::INTEROP;
+ }
+
if (content.empty()) {
error = String::compose("%1: no content specified", argv[0]);
return;