X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Fexport_dialog.h;h=f1e893b5329b887238cc89b028c30ca76f660195;hp=d785d910d6577c051c8ccc7bbb8337a595c9d615;hb=386e25f3b9d3fa59cbdeed458d9b3e0d21e338b8;hpb=c6871fe8617b3de03662b7630355059393bf8043 diff --git a/src/wx/export_dialog.h b/src/wx/export_dialog.h index d785d910d..f1e893b53 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,23 @@ class FilePickerCtrl; class ExportDialog : public TableDialog { public: - explicit 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; + int x264_crf () const; private: void format_changed (); + void file_changed (); + std::string _initial_name; wxChoice* _format; wxCheckBox* _mixdown; + wxCheckBox* _split_reels; + wxSlider* _x264_crf; + wxStaticText* _x264_crf_label[2]; FilePickerCtrl* _file; };