From: Carl Hetherington Date: Wed, 30 Oct 2013 09:33:07 +0000 (+0000) Subject: Fix erroneous overlap of adjacent content. X-Git-Tag: v2.0.48~1202^2~15 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=994ef64ef0cecd69898ab81432e5c5efef7ef97b;p=dcpomatic.git Fix erroneous overlap of adjacent content. --- diff --git a/src/lib/content.h b/src/lib/content.h index c066c61e0..626e270bd 100644 --- a/src/lib/content.h +++ b/src/lib/content.h @@ -103,7 +103,7 @@ public: } Time end () const { - return position() + length_after_trim(); + return position() + length_after_trim() - 1; } Time length_after_trim () const;