]> granicus.if.org Git - handbrake/commitdiff
[merge] encx265: fix regression introduced in SVN revision 6366.
authorRodeo <tdskywalker@gmail.com>
Mon, 8 Jun 2015 18:30:54 +0000 (18:30 +0000)
committerRodeo <tdskywalker@gmail.com>
Mon, 8 Jun 2015 18:30:54 +0000 (18:30 +0000)
Unknown options and bad values were never fatal for any libhb encoder.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/0.10.x@7279 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/encx265.c

index a3e3fc6791141f7ccea6a28741016c856749efaf..378f554715daa18483ca7877dff0d5265223b809 100644 (file)
@@ -188,11 +188,8 @@ int encx265Init(hb_work_object_t *w, hb_job_t *job)
     while ((entry = hb_dict_next(x265_opts, entry)) != NULL)
     {
         // here's where the strings are passed to libx265 for parsing
-        if (param_parse(param, entry->key, entry->value))
-        {
-            hb_dict_free(&x265_opts);
-            goto fail;
-        }
+        // unknown options or bad values are non-fatal, see encx264.c
+        param_parse(param, entry->key, entry->value);
     }
     hb_dict_free(&x265_opts);