Lower the level of some log messages.
authorCarl Hetherington <cth@carlh.net>
Thu, 26 May 2022 07:40:57 +0000 (09:40 +0200)
committerCarl Hetherington <cth@carlh.net>
Thu, 26 May 2022 07:40:57 +0000 (09:40 +0200)
src/lib/dcp_video.cc

index 50d33e9d5e1cff769336d1ba7332e0f7363095fc..14f23bd3782e108e8a27c596a926880eccdfbecb 100644 (file)
@@ -132,7 +132,7 @@ DCPVideo::encode_locally () const
        ArrayData enc = {};
        /* This was empirically derived by a user: see #1902 */
        int const minimum_size = 16384;
-       LOG_GENERAL ("Using minimum frame size %1", minimum_size);
+       LOG_DEBUG_ENCODE("Using minimum frame size %1", minimum_size);
 
        auto xyz = convert_to_xyz (_frame, boost::bind(&Log::dcp_log, dcpomatic_log.get(), _1, _2));
        int noise_amount = 2;
@@ -148,7 +148,7 @@ DCPVideo::encode_locally () const
                );
 
                if (enc.size() >= minimum_size) {
-                       LOG_GENERAL (N_("Frame %1 encoded size was OK (%2)"), _index, enc.size());
+                       LOG_DEBUG_ENCODE(N_("Frame %1 encoded size was OK (%2)"), _index, enc.size());
                        break;
                }