[x265] [PATCH 2 of 3] cli: fix --log-level full --help by removing extra param_default() calls

Steve Borho steve at borho.org
Fri Jul 10 18:18:01 CEST 2015


# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1436544788 18000
#      Fri Jul 10 11:13:08 2015 -0500
# Node ID 9089d8e6467f6207abe93e48a470992871db6745
# Parent  051f4705754d9318788c031418845daa0b04fe8f
cli: fix --log-level full --help by removing extra param_default() calls

diff -r 051f4705754d -r 9089d8e6467f source/x265.cpp
--- a/source/x265.cpp	Fri Jul 10 11:12:36 2015 -0500
+++ b/source/x265.cpp	Fri Jul 10 11:13:08 2015 -0500
@@ -402,7 +402,6 @@
 
     if (bShowHelp)
     {
-        api->param_default(param);
         printVersion(param, api);
         showHelp(param);
     }
@@ -417,7 +416,6 @@
         switch (c)
         {
         case 'h':
-            api->param_default(param);
             printVersion(param, api);
             showHelp(param);
             break;


More information about the x265-devel mailing list