X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fwx%2Fexport_dialog.h;h=fc22d036a070404a2f1270011bb1ba8d1346e089;hb=010a6240453384e35d4aa848af00ed58244fe16d;hp=0406c562f1aac5c1c246b911b80e210154f0c44c;hpb=3458d0ec34f08a8eeef9b158f26a476a18548353;p=dcpomatic.git diff --git a/src/wx/export_dialog.h b/src/wx/export_dialog.h index 0406c562f..fc22d036a 100644 --- a/src/wx/export_dialog.h +++ b/src/wx/export_dialog.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2017 Carl Hetherington + Copyright (C) 2017-2018 Carl Hetherington This file is part of DCP-o-matic. @@ -28,16 +28,25 @@ class FilePickerCtrl; class ExportDialog : public TableDialog { public: - ExportDialog (wxWindow* parent); + explicit ExportDialog (wxWindow* parent, std::string name); boost::filesystem::path path () const; - FFmpegEncoder::Format format () const; + ExportFormat format () const; bool mixdown_to_stereo () const; + bool split_reels () const; + bool split_streams () const; + int x264_crf () const; private: void format_changed (); + void file_changed (); + std::string _initial_name; wxChoice* _format; wxCheckBox* _mixdown; + wxCheckBox* _split_reels; + wxCheckBox* _split_streams; + wxSlider* _x264_crf; + wxStaticText* _x264_crf_label[2]; FilePickerCtrl* _file; };