#include <string>
-#include <gtkmm.h>
+#include <gtkmm/adjustment.h>
+#include <gtkmm/box.h>
+#include <gtkmm/button.h>
+#include <gtkmm/checkbutton.h>
+#include <gtkmm/comboboxtext.h>
+#include <gtkmm/label.h>
+#include <gtkmm/entry.h>
+#include <gtkmm/progressbar.h>
+#include <gtkmm/spinbutton.h>
#include "ardour/types.h"
#include "ardour/template_utils.h"
*/
class TranscodeVideoDialog : public ArdourDialog , public PBD::ScopedConnectionList
{
- public:
+public:
TranscodeVideoDialog (ARDOUR::Session*, std::string);
~TranscodeVideoDialog ();
std::string get_filename () { return path_entry.get_text(); }
std::string get_audiofile () { return audiofile; }
VtlTranscodeOption import_option ();
+ bool detect_ltc () { return ltc_detect.get_active (); }
- private:
+ void on_response (int response_id) {
+ Gtk::Dialog::on_response (response_id);
+ }
+
+private:
void on_show ();
void open_browse_dialog ();
void abort_clicked ();
void update_bitrate ();
void launch_audioonly ();
void launch_transcode ();
- void launch_extract ();
+ void launch_extract ();
void dialog_progress_mode ();
bool aborted;
bool pending_audio_extract;
Gtk::Adjustment height_adjustment;
Gtk::SpinButton height_spinner;
Gtk::ComboBoxText audio_combo;
+ Gtk::CheckButton ltc_detect;
Gtk::CheckButton bitrate_checkbox;
Gtk::Adjustment bitrate_adjustment;
Gtk::SpinButton bitrate_spinner;