summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-04-11 23:03:36 +0200
committerCarl Hetherington <cth@carlh.net>2023-05-13 08:54:58 +0200
commit87c1ac59d40f611fed94fa4120f9c21ef2baa2d2 (patch)
tree4453763a915f57b3c7aa2ec05189e63fed6a9269
parenta4c510f8e3730d918c5ba54b1b4aaf307d748e0f (diff)
Fix some typos in comments.
-rw-r--r--src/lib/config.cc2
-rw-r--r--src/lib/image.cc2
-rw-r--r--test/isdcf_name_test.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/config.cc b/src/lib/config.cc
index 9e13fd62a..6a61aae46 100644
--- a/src/lib/config.cc
+++ b/src/lib/config.cc
@@ -1292,7 +1292,7 @@ Config::add_to_player_history (boost::filesystem::path p)
add_to_history_internal (_player_history, p);
}
-/** Remove non-existant items from the player history */
+/** Remove non-existent items from the player history */
void
Config::clean_player_history ()
{
diff --git a/src/lib/image.cc b/src/lib/image.cc
index d84755df3..3aba3ebd5 100644
--- a/src/lib/image.cc
+++ b/src/lib/image.cc
@@ -328,7 +328,7 @@ Image::convert_pixel_format (dcp::YUVToRGB yuv_to_rgb, AVPixelFormat out_format,
/** @param out_size Size to scale to.
* @param yuv_to_rgb YUVToRGB transform transform to use, if required.
* @param out_format Output pixel format.
- * @param out_aligment Output alignment.
+ * @param out_alignment Output alignment.
* @param fast Try to be fast at the possible expense of quality; at present this means using
* fast bilinear rather than bicubic scaling.
*/
diff --git a/test/isdcf_name_test.cc b/test/isdcf_name_test.cc
index 3ccfd7d9a..a359e3efa 100644
--- a/test/isdcf_name_test.cc
+++ b/test/isdcf_name_test.cc
@@ -233,7 +233,7 @@ BOOST_AUTO_TEST_CASE (isdcf_name_test)
film->set_audio_language(dcp::LanguageTag("pt-BR"));
BOOST_CHECK_EQUAL (film->isdcf_name(false), "LikeShouting_XSN-2_F-133_QBP-fr_US-R_71-HI-VI_4K_DI_20140704_PPF_SMPTE_OV");
- /* Check that nothing is added for non-existant ratings */
+ /* Check that nothing is added for non-existent ratings */
film->set_ratings({});
BOOST_CHECK_EQUAL (film->isdcf_name(false), "LikeShouting_XSN-2_F-133_QBP-fr_US_71-HI-VI_4K_DI_20140704_PPF_SMPTE_OV");
}