-#endif
- unlink(path.c_str());
-}
-
-void
-Editor::export_video ()
-{
- 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);
- Gtk::ResponseType r = (Gtk::ResponseType) dialog.run();
- dialog.hide();
-#if 0
- if (r == Gtk::RESPONSE_ACCEPT) {
- ARDOUR_UI::instance()->popup_error(string_compose(_("Export Successful: %1"),dialog.get_exported_filename()));
- }
-#endif