summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/export_dialog.cc9
-rw-r--r--src/wx/export_dialog.h2
2 files changed, 11 insertions, 0 deletions
diff --git a/src/wx/export_dialog.cc b/src/wx/export_dialog.cc
index fa627cd81..ca723ddeb 100644
--- a/src/wx/export_dialog.cc
+++ b/src/wx/export_dialog.cc
@@ -70,6 +70,9 @@ ExportDialog::ExportDialog (wxWindow* parent, string name)
add_spacer ();
_split_reels = new CheckBox (this, _("Write reels into separate files"));
add (_split_reels, false);
+ add_spacer ();
+ _split_streams = new CheckBox (this, _("Write each audio channel to its own stream"));
+ add (_split_streams, false);
_x264_crf_label[0] = add (_("Quality"), true);
_x264_crf = new wxSlider (this, wxID_ANY, 23, 0, 51, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL | wxSL_LABELS);
add (_x264_crf, false);
@@ -149,6 +152,12 @@ ExportDialog::split_reels () const
return _split_reels->GetValue ();
}
+bool
+ExportDialog::split_streams () const
+{
+ return _split_streams->GetValue ();
+}
+
int
ExportDialog::x264_crf () const
{
diff --git a/src/wx/export_dialog.h b/src/wx/export_dialog.h
index f1e893b53..fc22d036a 100644
--- a/src/wx/export_dialog.h
+++ b/src/wx/export_dialog.h
@@ -34,6 +34,7 @@ public:
ExportFormat format () const;
bool mixdown_to_stereo () const;
bool split_reels () const;
+ bool split_streams () const;
int x264_crf () const;
private:
@@ -44,6 +45,7 @@ private:
wxChoice* _format;
wxCheckBox* _mixdown;
wxCheckBox* _split_reels;
+ wxCheckBox* _split_streams;
wxSlider* _x264_crf;
wxStaticText* _x264_crf_label[2];
FilePickerCtrl* _file;