]> git.decadent.org.uk Git - videolink.git/commitdiff
Add support for dvdauthor 0.7
authorBen Hutchings <ben@decadent.org.uk>
Thu, 3 Mar 2011 03:19:28 +0000 (03:19 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 3 Mar 2011 03:42:20 +0000 (03:42 +0000)
dvdauthor 0.7 requires us to specify the video standard explicitly.

ChangeLog
generate_dvd.cpp

index 3ff2d52bf9d2255e8d53fe1488cd83c5bad81a38..f627f95e384ccedb4fc925e5af9b10e0e519706e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 videolink (1.2.11) UNRELEASED; urgency=low
 
   * Add support for XULRunner 2.0 (beta)
+  * Add support for dvdauthor 0.7
 
  -- Ben Hutchings <ben@decadent.org.uk>  Thu, 03 Mar 2011 02:35:49 +0000
 
index 8eb5871d682d1598642abca7cf2edd43f02c5824..371894d41edc23abd7ac34abee8337fd52b64711 100644 (file)
@@ -360,8 +360,9 @@ void dvd_generator::generate(const std::string & output_dir) const
        const bool have_real_menus =
            titleset_num * dvdauthor_anonymous_menus_max < menus_.size();
 
-       file << "  <" << outer_element_name << ">\n"
-            << "    <menus>\n";
+       file << "  <" << outer_element_name << ">\n" <<
+            "    <menus>\n"
+            "      <video format='" << frame_params_.common_name << "'/>\n";
 
        const unsigned menu_begin = titleset_num * dvdauthor_anonymous_menus_max;
        const unsigned menu_end =
@@ -606,6 +607,7 @@ void dvd_generator::generate(const std::string & output_dir) const
        {
            file <<
                "    <titles>\n"
+               "      <video format='" << frame_params_.common_name << "'/>\n"
                "      <pgc>\n";
 
            file << "        <pre>\n";