[x265] [PATCH 1 of 2] cli: report input bit depth

Steve Borho steve at borho.org
Mon May 5 07:26:05 CEST 2014


# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1399265610 18000
#      Sun May 04 23:53:30 2014 -0500
# Node ID ec3041c034f3c3be4defd8c88e4f844c96ad8987
# Parent  dcf74ea39e3157ff1e66331db56f03edd5f9b810
cli: report input bit depth

diff -r dcf74ea39e31 -r ec3041c034f3 source/x265.cpp
--- a/source/x265.cpp	Sat May 03 15:08:24 2014 -0500
+++ b/source/x265.cpp	Sun May 04 23:53:30 2014 -0500
@@ -594,8 +594,8 @@
     if (param->logLevel >= X265_LOG_INFO)
     {
         char buf[128];
-        int p = sprintf(buf, "%dx%d fps %d/%d %s", param->sourceWidth, param->sourceHeight,
-                        param->fpsNum, param->fpsDenom, x265_source_csp_names[param->internalCsp]);
+        int p = sprintf(buf, "%dx%d fps %d/%d %sp%d", param->sourceWidth, param->sourceHeight,
+                        param->fpsNum, param->fpsDenom, x265_source_csp_names[param->internalCsp], info.depth);
 
         int width, height;
         getParamAspectRatio(param, width, height);


More information about the x265-devel mailing list