vtl: export selected range
[ardour.git] / gtk2_ardour / export_video_dialog.h
index f1c996de3038d713619da64e23bb5180d15e99de..7e3cf442a777b8c823a49453cb9571cb45475e15 100644 (file)
@@ -17,8 +17,6 @@
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
 */
-#ifdef WITH_VIDEOTIMELINE
-
 #ifndef __gtk_ardour_export_video_dialog_h__
 #define __gtk_ardour_export_video_dialog_h__
 
@@ -30,6 +28,7 @@
 #include "ardour/template_utils.h"
 #include "ardour_dialog.h"
 
+#include "time_selection.h"
 #include "transcode_ffmpeg.h"
 
 /** @class ExportVideoDialog
 class ExportVideoDialog : public ArdourDialog , public PBD::ScopedConnectionList
 {
   public:
-       ExportVideoDialog (PublicEditor&, ARDOUR::Session*);
+       ExportVideoDialog (ARDOUR::Session*, TimeSelection &tme);
        ~ExportVideoDialog ();
 
        std::string get_exported_filename () { return outfn_path_entry.get_text(); }
 
   private:
-       PublicEditor& editor;
+       TimeSelection &export_range;
 
        void on_show ();
        void abort_clicked ();
@@ -66,6 +65,8 @@ class ExportVideoDialog : public ArdourDialog , public PBD::ScopedConnectionList
 
        bool aborted;
        bool twopass;
+       bool firstpass;
+       bool normalize;
 
        void finished ();
        void update_progress (ARDOUR::framecnt_t, ARDOUR::framecnt_t);
@@ -123,5 +124,3 @@ class ExportVideoDialog : public ArdourDialog , public PBD::ScopedConnectionList
 };
 
 #endif /* __gtk_ardour_export_video_dialog_h__ */
-
-#endif /* WITH_VIDEOTIMELINE */