Fix some typos in comments.
authorCarl Hetherington <cth@carlh.net>
Tue, 11 Apr 2023 21:03:36 +0000 (23:03 +0200)
committerCarl Hetherington <cth@carlh.net>
Sat, 13 May 2023 06:54:58 +0000 (08:54 +0200)
src/lib/config.cc
src/lib/image.cc
test/isdcf_name_test.cc

index 9e13fd62a6ab91269300e6a55a590139af614651..6a61aae46318b8376fe3b738bee31eacc168418a 100644 (file)
@@ -1292,7 +1292,7 @@ Config::add_to_player_history (boost::filesystem::path p)
        add_to_history_internal (_player_history, 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 ()
 {
 void
 Config::clean_player_history ()
 {
index d84755df3d1123242df4b2c948b5ef319e9968bd..3aba3ebd535715a820d437cf0859f4b67a162cb9 100644 (file)
@@ -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_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.
  */
  *  @param fast Try to be fast at the possible expense of quality; at present this means using
  *  fast bilinear rather than bicubic scaling.
  */
index 3ccfd7d9a006925acb358f8794b2db63872e9979..a359e3efab1cb90c775e736f829218f36a14d1e9 100644 (file)
@@ -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");
 
        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");
 }
        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");
 }