*/
-#include <jack/types.h>
-
#include <glib/gstdio.h>
#include "ardour/profile.h"
#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"
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();
-}