[x265-commits] [x265] cli: report a warning on preset or tune string mismatches

Steve Borho steve at borho.org
Fri Nov 8 00:02:17 CET 2013


details:   http://hg.videolan.org/x265/rev/08872c3c4735
branches:  
changeset: 4943:08872c3c4735
user:      Steve Borho <steve at borho.org>
date:      Thu Nov 07 16:55:50 2013 -0600
description:
cli: report a warning on preset or tune string mismatches

diffstat:

 source/x265.cpp |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r fd0ebb4b4709 -r 08872c3c4735 source/x265.cpp
--- a/source/x265.cpp	Thu Nov 07 16:40:19 2013 -0600
+++ b/source/x265.cpp	Thu Nov 07 16:55:50 2013 -0600
@@ -366,7 +366,10 @@ bool CLIOptions::parse(int argc, char **
     }
 
     if (x265_param_default_preset(param, preset, tune) < 0)
+    {
+        x265_log(NULL, X265_LOG_WARNING, "preset or tune unrecognized\n");
         return true;
+    }
 
     for (optind = 0;; )
     {


More information about the x265-commits mailing list