archrelease: copy trunk to extra-x86_64
[arch-packages.git] / ffmpeg / trunk / vmaf-model-path.patch
blobabd65cdf730a1a496aabf56288175bfa9fb78ee8
1 diff --git a/libavfilter/vf_libvmaf.c b/libavfilter/vf_libvmaf.c
2 index 249e50c720..9b791e19b1 100644
3 --- a/libavfilter/vf_libvmaf.c
4 +++ b/libavfilter/vf_libvmaf.c
5 @@ -72,7 +72,7 @@ typedef struct LIBVMAFContext {
6 #define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM
8 static const AVOption libvmaf_options[] = {
9 - {"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},
10 + {"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},
11 {"log_path", "Set the file path to be used to store logs.", OFFSET(log_path), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 1, FLAGS},
12 {"log_fmt", "Set the format of the log (xml or json).", OFFSET(log_fmt), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 1, FLAGS},
13 {"enable_transform", "Enables transform for computing vmaf.", OFFSET(enable_transform), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS},