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;