X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fexport_config.cc;h=e030b98e26ceeed3c8d6c2fc6fd7c02e57048cb7;hb=00301ddfa6a7f4c79593d8c86a0ff208aa3be68a;hp=6c98079353e68ff6bdc103aa4d2a234d2030dccd;hpb=fcba100f0dfd1d4214291abb76f22ebd696c24d4;p=dcpomatic.git diff --git a/src/lib/export_config.cc b/src/lib/export_config.cc index 6c9807935..e030b98e2 100644 --- a/src/lib/export_config.cc +++ b/src/lib/export_config.cc @@ -41,7 +41,7 @@ ExportConfig::ExportConfig(Config* parent) void ExportConfig::set_defaults() { - _format = ExportFormat::PRORES; + _format = ExportFormat::PRORES_HQ; _mixdown_to_stereo = false; _split_reels = false; _split_streams = false; @@ -63,8 +63,10 @@ ExportConfig::read(cxml::ConstNodePtr node) _format = ExportFormat::SUBTITLES_DCP; } else if (format == "h264-aac") { _format = ExportFormat::H264_AAC; + } else if (format == "prores-4444") { + _format = ExportFormat::PRORES_4444; } else { - _format = ExportFormat::PRORES; + _format = ExportFormat::PRORES_HQ; } _mixdown_to_stereo = node->bool_child("MixdownToStereo"); @@ -80,8 +82,12 @@ ExportConfig::write(xmlpp::Element* node) const string name; switch (_format) { - case ExportFormat::PRORES: - name = "prores"; + case ExportFormat::PRORES_4444: + name = "prores-4444"; + break; + case ExportFormat::PRORES_HQ: + /* Write this but we also accept 'prores' for backwards compatibility */ + name = "prores-hq"; break; case ExportFormat::H264_AAC: name = "h264-aac";