summaryrefslogtreecommitdiff
path: root/gtk2_ardour/export_video_dialog.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-02-28 02:31:08 +0100
committerRobin Gareus <robin@gareus.org>2015-02-28 02:38:18 +0100
commit60bb5986e2c705434d7f6e319332efe2a0be7c30 (patch)
tree245023ac64f9e35cb23e0427395dfa5f42ee8eb3 /gtk2_ardour/export_video_dialog.h
parent09e187630af215ceb61356e2ebcdd1a70c76d293 (diff)
rework video-export dialog, remember settings
Diffstat (limited to 'gtk2_ardour/export_video_dialog.h')
-rw-r--r--gtk2_ardour/export_video_dialog.h23
1 files changed, 16 insertions, 7 deletions
diff --git a/gtk2_ardour/export_video_dialog.h b/gtk2_ardour/export_video_dialog.h
index 16e5cf7486..ab6f3223e9 100644
--- a/gtk2_ardour/export_video_dialog.h
+++ b/gtk2_ardour/export_video_dialog.h
@@ -59,6 +59,10 @@ class ExportVideoDialog : public ArdourDialog , public PBD::ScopedConnectionList
void launch_export ();
void encode_pass (int);
void change_file_extension (std::string);
+ void width_value_changed ();
+ void height_value_changed ();
+
+ void set_original_file_information ();
bool on_focus_in_event (GdkEventFocus*);
bool on_focus_out_event (GdkEventFocus*);
@@ -71,10 +75,10 @@ class ExportVideoDialog : public ArdourDialog , public PBD::ScopedConnectionList
void aspect_checkbox_toggled ();
void fps_checkbox_toggled ();
- bool aborted;
- bool twopass;
- bool firstpass;
- bool normalize;
+ bool _aborted;
+ bool _twopass;
+ bool _firstpass;
+ bool _normalize;
void finished ();
void update_progress (ARDOUR::framecnt_t, ARDOUR::framecnt_t);
@@ -82,10 +86,14 @@ class ExportVideoDialog : public ArdourDialog , public PBD::ScopedConnectionList
boost::shared_ptr<ARDOUR::ExportStatus> status;
sigc::connection audio_progress_connection;
gint audio_progress_display ();
- float previous_progress;
+ float _previous_progress;
+
+ TranscodeFfmpeg *_transcoder;
+ std::string _insnd;
- TranscodeFfmpeg *transcoder;
- std::string insnd;
+ float _video_source_aspect_ratio;
+ bool _suspend_signals;
+ bool _suspend_dirty;
Gtk::Label outfn_path_label;
Gtk::Entry outfn_path_entry;
@@ -111,6 +119,7 @@ class ExportVideoDialog : public ArdourDialog , public PBD::ScopedConnectionList
Gtk::ComboBoxText preset_combo;
Gtk::CheckButton scale_checkbox;
+ Gtk::CheckButton scale_aspect;
Gtk::Adjustment width_adjustment;
Gtk::SpinButton width_spinner;
Gtk::Adjustment height_adjustment;