summaryrefslogtreecommitdiff
path: root/src/lib/util.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-10 13:35:36 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-10 13:35:36 +0100
commite18ebfab7383efc601d3024687f9761419006184 (patch)
treee2485ccb083e4420a96db95af591c68e719af580 /src/lib/util.cc
parentadb9882ec12fecb0bbb1925a46c8e63368f9e2b5 (diff)
Remove erroneous trimmer.cc; use copy for FFMpeg filter passthrough.
Diffstat (limited to 'src/lib/util.cc')
-rw-r--r--src/lib/util.cc14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc
index d425fc8fe..2e4abe64d 100644
--- a/src/lib/util.cc
+++ b/src/lib/util.cc
@@ -270,7 +270,7 @@ LONG WINAPI exception_handler(struct _EXCEPTION_POINTERS *)
}
#endif
-/** Call the required functions to set up DVD-o-matic's static arrays, etc.
+/** Call the required functions to set up DCP-o-matic's static arrays, etc.
* Must be called from the UI thread, if there is one.
*/
void
@@ -338,18 +338,6 @@ dcpomatic_setup_gettext_i18n (string lang)
#endif
}
-/** @param start Start position for the crop within the image.
- * @param size Size of the cropped area.
- * @return FFmpeg crop filter string.
- */
-string
-crop_string (Position start, libdcp::Size size)
-{
- stringstream s;
- s << N_("crop=") << size.width << N_(":") << size.height << N_(":") << start.x << N_(":") << start.y;
- return s.str ();
-}
-
/** @param s A string.
* @return Parts of the string split at spaces, except when a space is within quotation marks.
*/