Add basic quality option for x264 export.
[dcpomatic.git] / src / wx / export_dialog.h
index d785d910d6577c051c8ccc7bbb8337a595c9d615..c6ccc875ed38346eb858ebaf4ed74b67708de8e1 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2017 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2017-2018 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
@@ -33,11 +33,15 @@ public:
        boost::filesystem::path path () const;
        FFmpegEncoder::Format format () const;
        bool mixdown_to_stereo () const;
+       int x264_crf () const;
 
 private:
        void format_changed ();
+       void file_changed ();
 
        wxChoice* _format;
        wxCheckBox* _mixdown;
+       wxSlider* _x264_crf;
+       wxStaticText* _x264_crf_label[2];
        FilePickerCtrl* _file;
 };