diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-06-24 23:01:13 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-06-24 23:01:13 +0200 |
| commit | 6675bba6ab7d5cee50fa4d8c892af69d054c6804 (patch) | |
| tree | feee88dc93797235a1b19d02851f93a3161c1851 /src/wx | |
| parent | cb6b0865614761df9c0ecc0f9dabc6b41de65659 (diff) | |
Add ProRes LT export option (#2834).
Diffstat (limited to 'src/wx')
| -rw-r--r-- | src/wx/export_video_file_dialog.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/wx/export_video_file_dialog.cc b/src/wx/export_video_file_dialog.cc index 611985602..6e32a8514 100644 --- a/src/wx/export_video_file_dialog.cc +++ b/src/wx/export_video_file_dialog.cc @@ -22,6 +22,7 @@ #include "check_box.h" #include "export_video_file_dialog.h" #include "file_picker_ctrl.h" +#include "lib/ffmpeg_file_encoder.h" #include "wx_util.h" #include "lib/config.h" #include <dcp/warnings.h> @@ -35,30 +36,34 @@ using std::string; using boost::bind; -int constexpr FORMATS = 3; +int constexpr FORMATS = 4; wxString format_names[] = { _("MOV / ProRes 4444"), _("MOV / ProRes HQ"), + _("MOV / ProRes LT"), _("MP4 / H.264"), }; wxString format_filters[] = { _("MOV files (*.mov)|*.mov"), _("MOV files (*.mov)|*.mov"), + _("MOV files (*.mov)|*.mov"), _("MP4 files (*.mp4)|*.mp4"), }; wxString format_extensions[] = { "mov", "mov", + "mov", "mp4", }; ExportFormat formats[] = { ExportFormat::PRORES_4444, ExportFormat::PRORES_HQ, + ExportFormat::PRORES_LT, ExportFormat::H264_AAC, }; |
