amend efc2660f, well-known stripable controls:
[ardour.git] / gtk2_ardour / transcode_video_dialog.h
index 981079b3a84b615afbeced04a534bbc68755749a..db3aba973996a879ae9973501974bbf4edf60818 100644 (file)
@@ -17,8 +17,6 @@
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
 */
-#ifdef WITH_VIDEOTIMELINE
-
 #ifndef __gtk_ardour_transcode_video_dialog_h__
 #define __gtk_ardour_transcode_video_dialog_h__
 
@@ -33,9 +31,9 @@
 #include "transcode_ffmpeg.h"
 
 enum VtlTranscodeOption {
- VTL_IMPORT_NO_VIDEO = 0,
- VTL_IMPORT_REFERENCE = 1,
- VTL_IMPORT_TRANSCODED = 2
+ VTL_IMPORT_REFERENCE = 0,
+ VTL_IMPORT_TRANSCODED = 1,
+ VTL_IMPORT_NO_VIDEO = 2
 };
 
 /** @class TranscodeVideoDialog
@@ -50,6 +48,11 @@ class TranscodeVideoDialog : public ArdourDialog , public PBD::ScopedConnectionL
        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 (); }
+
+       void on_response (int response_id) {
+               Gtk::Dialog::on_response (response_id);
+       }
 
   private:
        void on_show ();
@@ -96,6 +99,7 @@ class TranscodeVideoDialog : public ArdourDialog , public PBD::ScopedConnectionL
        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;
@@ -106,5 +110,3 @@ class TranscodeVideoDialog : public ArdourDialog , public PBD::ScopedConnectionL
 };
 
 #endif /* __gtk_ardour_transcode_video_dialog_h__ */
-
-#endif /* WITH_VIDEOTIMELINE */