]> git.decadent.org.uk Git - videolink.git/commitdiff
Corrected formula in menu_duration_seconds. It looks like any sufficiently large...
authorBen Hutchings <ben@decadent.org.uk>
Thu, 30 Nov 2006 02:38:56 +0000 (02:38 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 2 Nov 2008 23:58:12 +0000 (23:58 +0000)
generate_dvd.cpp

index eb8fc0498fe0895cde21234810bfa5cc671773b6..5d357e6d39c385fe6eb76a89551bd5c115340e64 100644 (file)
@@ -88,8 +88,8 @@ namespace
     double menu_duration_seconds(const video::frame_params & params)
     {
        return double(menu_duration_frames(params))
-           * double(params.rate_numer)
-           / double(params.rate_denom);
+           / double(params.rate_numer)
+           * double(params.rate_denom);
     }
 
     void throw_length_error(const char * limit_type, std::size_t limit)