summarylogtreecommitdiffstats
path: root/010-ffmpeg-fix-vmaf-model-path.patch
diff options
context:
space:
mode:
authorDaniel Bermond2020-05-31 12:53:21 +0000
committerDaniel Bermond2020-05-31 12:53:21 +0000
commitf2b4a6d1b309fdb3d6d2a76f572819dc562e781e (patch)
treec3f1d5f22e65ea86a6640a94d627d7b9b87320b7 /010-ffmpeg-fix-vmaf-model-path.patch
parent6164fa623693a59a0ac34b89a3203e9d495a6e9a (diff)
downloadaur-f2b4a6d1b309fdb3d6d2a76f572819dc562e781e.tar.gz
Match changes of repositoy package
Diffstat (limited to '010-ffmpeg-fix-vmaf-model-path.patch')
-rw-r--r--010-ffmpeg-fix-vmaf-model-path.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/010-ffmpeg-fix-vmaf-model-path.patch b/010-ffmpeg-fix-vmaf-model-path.patch
new file mode 100644
index 000000000000..1e92c02e5595
--- /dev/null
+++ b/010-ffmpeg-fix-vmaf-model-path.patch
@@ -0,0 +1,11 @@
+--- a/libavfilter/vf_libvmaf.c
++++ b/libavfilter/vf_libvmaf.c
+@@ -72,7 +72,7 @@ typedef struct LIBVMAFContext {
+ #define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM
+
+ 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},
+ {"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 (xml or json).", 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},