diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-08-05 18:32:59 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-08-05 21:46:44 +0200 |
| commit | 010a6240453384e35d4aa848af00ed58244fe16d (patch) | |
| tree | dd95b63a5f949fada976d072807fdf4b8e2edc9f /src/wx | |
| parent | 1d73cca7a3adfc4d64a2529e3f6e8c7b6d6cc38d (diff) | |
Allow export with one audio stream per channel.v2.15.95
Diffstat (limited to 'src/wx')
| -rw-r--r-- | src/wx/export_dialog.cc | 9 | ||||
| -rw-r--r-- | src/wx/export_dialog.h | 2 |
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; |
