From: Ben Hutchings Date: Thu, 30 Nov 2006 02:38:56 +0000 (+0000) Subject: Corrected formula in menu_duration_seconds. It looks like any sufficiently large... X-Git-Tag: 1.1~2 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=3a7baf39d3211c0bda3de1ab2b657e024a35b8af;p=videolink.git Corrected formula in menu_duration_seconds. It looks like any sufficiently large return value will actually work, but let's try the right one! --- diff --git a/generate_dvd.cpp b/generate_dvd.cpp index eb8fc04..5d357e6 100644 --- a/generate_dvd.cpp +++ b/generate_dvd.cpp @@ -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)