• nilfm's avatar
    avfilter/vf_libvmaf: fix string comparison bug · 5f4b7bf2
    nilfm authored
    The libvmaf filter was doing substring checks in place of string equality
    comparisons. This led to a bug when the user specified the pooling method
    "harmonic_mean", since "mean" was checked first and the substring comparison
    returned true. This patch changes all substring comparisons for string equality
    comparisons. This is both correct and more efficient than the existing method.
    Signed-off-by: 's avatarnilfm <nilf@netflix.com>
    5f4b7bf2
vf_libvmaf.c 23.2 KB