summaryrefslogtreecommitdiff
path: root/src/lib/util.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-01-17 21:30:16 +0000
committerCarl Hetherington <cth@carlh.net>2013-01-17 21:30:16 +0000
commit39c65e47432c76a4e34aaea5317bd7362409aed0 (patch)
tree5bacc1d631de0a2b7f0aa492ddaf05a65e06d97c /src/lib/util.cc
parent3882d34aed9dee417ceed93bf0bf5372b3970ff6 (diff)
Try to tidy up frame indexing; use DCP length obtained from the transcode to make the DCP.
Diffstat (limited to 'src/lib/util.cc')
-rw-r--r--src/lib/util.cc11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc
index b500ddc2f..0e250bb08 100644
--- a/src/lib/util.cc
+++ b/src/lib/util.cc
@@ -63,6 +63,7 @@ extern "C" {
using namespace std;
using namespace boost;
+using libdcp::Size;
thread::id ui_thread;
@@ -455,16 +456,6 @@ dcp_audio_channels (int f)
}
-bool operator== (Size const & a, Size const & b)
-{
- return (a.width == b.width && a.height == b.height);
-}
-
-bool operator!= (Size const & a, Size const & b)
-{
- return !(a == b);
-}
-
bool operator== (Crop const & a, Crop const & b)
{
return (a.left == b.left && a.right == b.right && a.top == b.top && a.bottom == b.bottom);