[x265] [PATCH] primitives: shorten log message to prevent 80char terminal wrap

Steve Borho steve at borho.org
Wed Oct 2 00:29:51 CEST 2013


# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1380665911 18000
#      Tue Oct 01 17:18:31 2013 -0500
# Node ID 73f1415009ea83511469f34a9ddbf999e1c64757
# Parent  c5dc3e37d76772b5e26c6996ab0df5ce325f54a7
primitives: shorten log message to prevent 80char terminal wrap

diff -r c5dc3e37d767 -r 73f1415009ea source/common/primitives.cpp
--- a/source/common/primitives.cpp	Tue Oct 01 17:28:19 2013 +0530
+++ b/source/common/primitives.cpp	Tue Oct 01 17:18:31 2013 -0500
@@ -108,8 +108,8 @@
         cpuid = instrset_detect(); // Detect supported instruction set
         if (param->logLevel >= X265_LOG_INFO)
         {
-            x265_log(param, X265_LOG_INFO, "detected SIMD architectures");
-            for (int i = 1; i <= cpuid; i++)
+            x265_log(param, X265_LOG_INFO, "detected SIMD: ");
+            for (int i = 2; i <= cpuid; i++)
             {
                 fprintf(stderr, "%s ", CpuType[i]);
             }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x265.patch
Type: text/x-patch
Size: 950 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20131001/cae89f7c/attachment.bin>


More information about the x265-devel mailing list