From 0e5f2f15f52667ea9519be8448ef9b60591dc6b5 Mon Sep 17 00:00:00 2001 From: Yigithan Yigit Date: Thu, 8 Aug 2024 10:37:38 +0300 Subject: [PATCH] Rename `vmaf_register_metadata_callback`to `vmaf_register_metadata_handler` --- libvmaf/include/libvmaf/libvmaf.h | 2 +- libvmaf/src/libvmaf.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libvmaf/include/libvmaf/libvmaf.h b/libvmaf/include/libvmaf/libvmaf.h index 0fdd120b7..11d0d1190 100644 --- a/libvmaf/include/libvmaf/libvmaf.h +++ b/libvmaf/include/libvmaf/libvmaf.h @@ -296,7 +296,7 @@ typedef struct VmafMetadataConfiguration { * @return 0 on success, or < 0 (a negative errno code) on error. */ -int vmaf_register_metadata_callback(VmafContext *vmaf, VmafMetadataConfiguration cfg); +int vmaf_register_metadata_handler(VmafContext *vmaf, VmafMetadataConfiguration cfg); /** * Pooled VMAF score for a specific interval. diff --git a/libvmaf/src/libvmaf.c b/libvmaf/src/libvmaf.c index 6b328529f..31340e22c 100644 --- a/libvmaf/src/libvmaf.c +++ b/libvmaf/src/libvmaf.c @@ -744,7 +744,7 @@ int vmaf_read_pictures(VmafContext *vmaf, VmafPicture *ref, VmafPicture *dist, return err; } -int vmaf_register_metadata_callback(VmafContext *vmaf, VmafMetadataConfiguration cfg) +int vmaf_register_metadata_handler(VmafContext *vmaf, VmafMetadataConfiguration cfg) { if (!vmaf) return -EINVAL;