commit 7bb9c11d97d958cca4f41320169449ec92070b9b
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Fri Dec 10 18:05:04 2021 +0000
Fix vmaf model name
fix-vmaf-model-path.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/fix-vmaf-model-path.patch b/fix-vmaf-model-path.patch
index 737bf35..8108dc1 100644
--- a/fix-vmaf-model-path.patch
+++ b/fix-vmaf-model-path.patch
@@ -16,7 +16,7 @@ index 4d49127efc..bd6f4519e8 100644
static const AVOption libvmaf_options[] = {
- {"model_path", "Set the model to be used for computing vmaf.",
OFFSET(model_path), AV_OPT_TYPE_STRING,
{.str="/usr/local/share/model/vmaf_v0.6.1.pkl"}, 0, 1, FLAGS},
-+ {"model_path", "Set the model to be used for computing vmaf.",
OFFSET(model_path), AV_OPT_TYPE_STRING,
{.str="/usr/share/model/vmaf_v0.6.1.pkl"}, 0, 1, FLAGS},
++ {"model_path", "Set the model to be used for computing vmaf.",
OFFSET(model_path), AV_OPT_TYPE_STRING,
{.str="/usr/share/model/vmaf_v0.6.1.json"}, 0, 1, FLAGS},
{"log_path", "Set the file path to be used to store logs.",
OFFSET(log_path), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 1, FLAGS},
{"log_fmt", "Set the format of the log (csv, json or xml).",
OFFSET(log_fmt), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 1, FLAGS},
{"enable_transform", "Enables transform for computing vmaf.",
OFFSET(enable_transform), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS},