projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Various timing hacks and development.
[dcpomatic.git]
/
src
/
wx
/
export_dialog.h
diff --git
a/src/wx/export_dialog.h
b/src/wx/export_dialog.h
index 04a516bca6bd49148f1c1b16370847acf4e6b843..f1e893b5329b887238cc89b028c30ca76f660195 100644
(file)
--- a/
src/wx/export_dialog.h
+++ b/
src/wx/export_dialog.h
@@
-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.
This file is part of DCP-o-matic.
@@
-19,7
+19,7
@@
*/
#include "table_dialog.h"
*/
#include "table_dialog.h"
-#include "lib/ffmpeg_
trans
coder.h"
+#include "lib/ffmpeg_
en
coder.h"
#include <wx/wx.h>
#include <boost/filesystem.hpp>
#include <wx/wx.h>
#include <boost/filesystem.hpp>
@@
-28,14
+28,23
@@
class FilePickerCtrl;
class ExportDialog : public TableDialog
{
public:
class ExportDialog : public TableDialog
{
public:
-
ExportDialog (wxWindow* parent
);
+
explicit ExportDialog (wxWindow* parent, std::string name
);
boost::filesystem::path path () const;
boost::filesystem::path path () const;
- FFmpegTranscoder::Format format () const;
+ ExportFormat format () const;
+ bool mixdown_to_stereo () const;
+ bool split_reels () const;
+ int x264_crf () const;
private:
void format_changed ();
private:
void format_changed ();
+ void file_changed ();
+ std::string _initial_name;
wxChoice* _format;
wxChoice* _format;
+ wxCheckBox* _mixdown;
+ wxCheckBox* _split_reels;
+ wxSlider* _x264_crf;
+ wxStaticText* _x264_crf_label[2];
FilePickerCtrl* _file;
};
FilePickerCtrl* _file;
};