diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-06-12 22:32:30 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-06-12 22:32:34 +0200 |
| commit | 1c57df596882f15403ee97d01862f8b76cfb797b (patch) | |
| tree | 2ba7bf92d0de90cd4469e4b16802fd7394994f33 /src/lib/export_config.cc | |
| parent | 59209af1e2d73334ff7dfe6c7da465293dc24c0b (diff) | |
Add Prores 4444 support (#2263).
Diffstat (limited to 'src/lib/export_config.cc')
| -rw-r--r-- | src/lib/export_config.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/export_config.cc b/src/lib/export_config.cc index 66c5e3d66..e030b98e2 100644 --- a/src/lib/export_config.cc +++ b/src/lib/export_config.cc @@ -63,6 +63,8 @@ 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_HQ; } @@ -80,8 +82,12 @@ ExportConfig::write(xmlpp::Element* node) const string name; switch (_format) { + case ExportFormat::PRORES_4444: + name = "prores-4444"; + break; case ExportFormat::PRORES_HQ: - name = "prores"; + /* Write this but we also accept 'prores' for backwards compatibility */ + name = "prores-hq"; break; case ExportFormat::H264_AAC: name = "h264-aac"; |
