X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=inline;f=gtk2_ardour%2Feditor_videotimeline.cc;h=c4987bceb54e6dff6fb69fc5b3fad278a6305ec4;hb=d45a25e4a834e7f25217f811dedba005226385c8;hp=1390aa440fdecf9cd3991cc471de0ed59d1d5bd8;hpb=a882e96db1367c26660fd3d3079e9e3e19b1e149;p=ardour.git diff --git a/gtk2_ardour/editor_videotimeline.cc b/gtk2_ardour/editor_videotimeline.cc index 1390aa440f..c4987bceb5 100644 --- a/gtk2_ardour/editor_videotimeline.cc +++ b/gtk2_ardour/editor_videotimeline.cc @@ -18,8 +18,6 @@ */ -#include - #include #include "ardour/profile.h" @@ -34,7 +32,6 @@ #include "audio_time_axis.h" #include "video_image_frame.h" #include "export_video_dialog.h" -#include "export_video_infobox.h" #include "interthread_progress_window.h" #include "pbd/openuri.h" @@ -107,26 +104,3 @@ Editor::embed_audio_from_video (std::string path, framepos_t n, bool lock_positi import_status.all_done = true; ::g_unlink(path.c_str()); } - -void -Editor::export_video (bool range) -{ - if (ARDOUR::Config->get_show_video_export_info()) { - ExportVideoInfobox infobox (_session); - Gtk::ResponseType rv = (Gtk::ResponseType) infobox.run(); - if (infobox.show_again()) { - ARDOUR::Config->set_show_video_export_info(false); - } - switch (rv) { - case GTK_RESPONSE_YES: - PBD::open_uri (ARDOUR::Config->get_reference_manual_url() + "/video-timeline/operations/#export"); - break; - default: - break; - } - } - ExportVideoDialog dialog (_session, get_selection().time, range); - Gtk::ResponseType r = (Gtk::ResponseType) dialog.run(); - (void) r; // keep gcc quiet - dialog.hide(); -}