changeset 12675:845eaba12d20

Fix libvmaf integration issues 1. Updates the search path of libvmaf.h 2. Fix incorrect argument in vmaf_encoder_log() API
author Aruna <aruna@multicorewareinc.com>
date Tue, 07 Jul 2020 04:41:45 +0530
parents 3a5b3583afb1
children b7f6aae1d5cb
files source/abrEncApp.cpp source/encoder/api.cpp
diffstat 2 files changed, 2 insertions(+-), 2 deletions(-) [+]
line wrap: on
line diff
--- a/source/abrEncApp.cpp	Sat Jul 04 01:00:11 2020 +0530
+++ b/source/abrEncApp.cpp	Tue Jul 07 04:41:45 2020 +0530
@@ -814,7 +814,7 @@ ret:
             api->encoder_get_stats(m_encoder, &stats, sizeof(stats));
             if (m_param->csvfn && !b_ctrl_c)
 #if ENABLE_LIBVMAF
-                api->vmaf_encoder_log(m_encoder, m_cliopt.argCount, m_cliopt.argString, m_cliopt.param, vmafdata);
+                api->vmaf_encoder_log(m_encoder, m_cliopt.argCnt, m_cliopt.argString, m_cliopt.param, vmafdata);
 #else
                 api->encoder_log(m_encoder, m_cliopt.argCnt, m_cliopt.argString);
 #endif
--- a/source/encoder/api.cpp	Sat Jul 04 01:00:11 2020 +0530
+++ b/source/encoder/api.cpp	Tue Jul 07 04:41:45 2020 +0530
@@ -33,7 +33,7 @@
 #include "svt.h"
 
 #if ENABLE_LIBVMAF
-#include "libvmaf.h"
+#include "libvmaf/libvmaf.h"
 #endif
 
 /* multilib namespace reflectors */