Skip to content

Commit

Permalink
Rename vmaf_register_metadata_callbackto `vmaf_register_metadata_ha…
Browse files Browse the repository at this point in the history
…ndler`
  • Loading branch information
yigithanyigit committed Aug 8, 2024
1 parent f64a0f9 commit 0e5f2f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libvmaf/include/libvmaf/libvmaf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion libvmaf/src/libvmaf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 0e5f2f1

Please sign in to comment.