[x265] [PATCH] encoder.cpp: print reconfigure params for debug purpose

praveen at multicorewareinc.com praveen at multicorewareinc.com
Thu Nov 17 15:14:17 CET 2016


# HG changeset patch
# User Praveen Tiwari <praveen at multicorewareinc.com>
# Date 1479392046 -19800
#      Thu Nov 17 19:44:06 2016 +0530
# Node ID 64dc12e9aae9acacaaab5f7875d01fb09d4156d6
# Parent  4c1652f3884fba9fab4c589dd057b12e6bf33d5b
encoder.cpp: print reconfigure params for debug purpose

diff -r 4c1652f3884f -r 64dc12e9aae9 source/encoder/encoder.cpp
--- a/source/encoder/encoder.cpp	Tue Nov 15 11:16:04 2016 +0530
+++ b/source/encoder/encoder.cpp	Thu Nov 17 19:44:06 2016 +0530
@@ -2433,10 +2433,10 @@
     x265_param* oldParam = m_param;
     x265_param* newParam = m_latestParam;
     
-    x265_log(newParam, X265_LOG_INFO, "Reconfigured param options, input Frame: %d\n", m_pocLast + 1);
+    x265_log(newParam, X265_LOG_DEBUG, "Reconfigured param options, input Frame: %d\n", m_pocLast + 1);
 
     char tmp[40];
-#define TOOLCMP(COND1, COND2, STR)  if (COND1 != COND2) { sprintf(tmp, STR, COND1, COND2); x265_log(newParam, X265_LOG_INFO, tmp); }
+#define TOOLCMP(COND1, COND2, STR)  if (COND1 != COND2) { sprintf(tmp, STR, COND1, COND2); x265_log(newParam, X265_LOG_DEBUG, tmp); }
     TOOLCMP(oldParam->maxNumReferences, newParam->maxNumReferences, "ref=%d to %d\n");
     TOOLCMP(oldParam->bEnableFastIntra, newParam->bEnableFastIntra, "fast-intra=%d to %d\n");
     TOOLCMP(oldParam->bEnableEarlySkip, newParam->bEnableEarlySkip, "early-skip=%d to %d\n");


More information about the x265-devel mailing list