summaryrefslogtreecommitdiff
path: root/src/lib/util.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-10-27 01:13:07 +0100
committerCarl Hetherington <cth@carlh.net>2012-10-27 01:13:07 +0100
commit7ffd5bd9b4571c2db06a8c50419fe90b06ef1a07 (patch)
treeae1f013240e02da963c6067ab71379caf04162aa /src/lib/util.cc
parent520203da69da7b6638cba569ca1975a7dd036b5e (diff)
Try to separate out filter graph code and use a different one for each different pixel format / size of frame.
Diffstat (limited to 'src/lib/util.cc')
-rw-r--r--src/lib/util.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc
index 90b27f39a..b68f7e392 100644
--- a/src/lib/util.cc
+++ b/src/lib/util.cc
@@ -387,6 +387,11 @@ dcp_audio_sample_rate (int fs)
return 96000;
}
+bool operator== (Size const & a, Size const & b)
+{
+ return (a.width == b.width && a.height == b.height);
+}
+
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);