Oops - the previous namespace qualifier was also needed in gtk2_ardour/processor_box.cc
[ardour.git] / gtk2_ardour / export_video_infobox.cc
index d12ceb7ed8f3a19540b824dc12112fc5de606de9..a3e356decc6a3cb7c9303a6f608a74e7e2c4c85b 100644 (file)
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
 */
-#ifdef WITH_VIDEOTIMELINE
-
 #include "ardour/session.h"
+#ifdef interface
+#undef interface
+#endif
 #include "export_video_infobox.h"
 #include "i18n.h"
 
@@ -30,12 +31,11 @@ using namespace ARDOUR;
 
 ExportVideoInfobox::ExportVideoInfobox (Session* s)
        : ArdourDialog (_("Video Export Info"))
-       , showagain_checkbox (_("Don't show this dialog again. (Reset in Edit->Preferences)."))
+       , showagain_checkbox (_("Do Not Show This Dialog Again (Reset in Edit > Preferences > Video)."))
 {
        set_session (s);
 
        set_name ("ExportVideoInfobox");
-       set_position (Gtk::WIN_POS_MOUSE);
        set_modal (true);
        set_skip_taskbar_hint (true);
        set_resizable (false);
@@ -46,7 +46,11 @@ ExportVideoInfobox::ExportVideoInfobox (Session* s)
        l = manage (new Label (_("<b>Video Export Info</b>"), Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER, false));
        l->set_use_markup ();
        vbox->pack_start (*l, false, true);
-       l = manage (new Label (_("The video export is not recommended for mastering!\nThe video input file defaults to that listed from the video timeline, which may not the the best quality to start with. While 'ffmpeg' can produce high-quality files, this export lacks the possibility to tweak many settings. We recommend to use 'winff', 'devede' or 'dvdauthor' to mux & master. Nevertheless this video-export may come in handy to do quick snapshots, intermediates or online videos.\n\nThe file-format is determined by the extension you choose for the output file (.avi, .mov, .flv, .ogv; run 'ffmpeg -formats' for a full list of supported formats)\nNote: not all combinations do work, i.e., flv files require samplerates of 22.1kHz or 44.1kHz, mpeg containers can not be used with ac3 audio-codec, etc. If in doubt, use one of the presets."), Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER, false));
+       l = manage (new Label (
+                               string_compose(
+                               _("Video encoding is a non-trivial task with many details.\n\nPlease see the manual at %1/video-timeline/operations/#export.\n\nOpen Manual in Browser? "),
+                               Config->get_reference_manual_url()
+                               ), Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER, false));
        l->set_size_request(700,-1);
        l->set_line_wrap();
        vbox->pack_start (*l, false, true,4);
@@ -59,18 +63,10 @@ ExportVideoInfobox::ExportVideoInfobox (Session* s)
 
        showagain_checkbox.set_active(false);
        show_all_children ();
-       add_button (Stock::OK, RESPONSE_ACCEPT);
+       add_button (Stock::YES, RESPONSE_YES);
+       add_button (Stock::NO, RESPONSE_NO);
 }
 
 ExportVideoInfobox::~ExportVideoInfobox ()
 {
 }
-/*
-void
-ExportVideoInfobox::on_show ()
-{
-       Dialog::on_show ();
-}
-*/
-
-#endif /* WITH_VIDEOTIMELINE */