X-Git-Url: https://git.decadent.org.uk/gitweb/?p=videolink.git;a=blobdiff_plain;f=generate_dvd.hpp;h=f77d7da1d4bdf9e59ed954e7eb42b11519af3d91;hp=8ce8f7b89e97f1ef1285e640d00de990b3c5c5b4;hb=c13714f6498df33e02635421354f5fb88a60eb3d;hpb=d8d5c01a14ab3808a9c823996eb1b72d5c624807 diff --git a/generate_dvd.hpp b/generate_dvd.hpp index 8ce8f7b..f77d7da 100644 --- a/generate_dvd.hpp +++ b/generate_dvd.hpp @@ -10,6 +10,7 @@ #include #include "temp_file.hpp" +#include "vob_list.hpp" // Description of menus and titles to go on a DVD. @@ -54,21 +55,8 @@ struct dvd_contents std::vector entries; }; - // Title definition. This is currently just an XML fragment - // consisting of one of more elements. It is included - // directly within the corresponding element in the file - // passed to dvdauthor. - struct title - { - explicit title(const std::string & vob_list) - : vob_list(vob_list) - {} - - std::string vob_list; - }; - std::vector menus; - std::vector titles; + std::vector<vob_list> titles; }; // Use dvdauthor to generate a DVD filesystem with the given contents.