Round image line sizes up to 32. Seems to help with LHS image corruption with both...
[dcpomatic.git] / src / lib / dvd.h
index 1704721217531afe0b8d822ae888616fc5be4f6f..28fef4d167ec2318474da9fb8c4e4bb3fe564696 100644 (file)
 
 */
 
-extern std::vector<uint64_t> dvd_titles (std::string);
+#include <list>
+#include <stdint.h>
+
+class DVDTitle
+{
+public:
+       DVDTitle () : number (-1), size (0) {}
+       DVDTitle (int n, int s) : number (n), size (s) {}
+       
+       int number;
+       uint64_t size;
+};
+
+extern bool operator< (DVDTitle const &, DVDTitle const &);
+
+extern std::list<DVDTitle> dvd_titles (std::string);
 extern std::string find_dvd ();