fix incorrect accumulation of export video options each time the dialog is used
[ardour.git] / gtk2_ardour / export_video_infobox.cc
index a3e356decc6a3cb7c9303a6f608a74e7e2c4c85b..e3120c2d27ff5e5e699c610cfceec7b4507cbe54 100644 (file)
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
 */
-#include "ardour/session.h"
 #ifdef interface
 #undef interface
 #endif
+
+#include <gtkmm/box.h>
+#include <gtkmm/label.h>
+#include <gtkmm/separator.h>
+#include <gtkmm/stock.h>
+
+#include "ardour/session.h"
+
 #include "export_video_infobox.h"
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace Gtk;
 using namespace std;
@@ -48,8 +55,8 @@ ExportVideoInfobox::ExportVideoInfobox (Session* s)
        vbox->pack_start (*l, false, true);
        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()
+                               _("%1 does not include commercial licenses for encoding audio/video. Visit mpegla.com for information about licensing various audio/video codecs.\n\nVideo encoding is a non-trivial task with many details.\n\nPlease see the manual at %2/video-timeline/operations/#export.\n\nOpen Manual in Browser? "),
+                               PROGRAM_NAME, Config->get_reference_manual_url()
                                ), Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER, false));
        l->set_size_request(700,-1);
        l->set_line_wrap();