lavu/videotoolbox: expose routine to set CVPixelBufferRef metadata

This commit is contained in:
rcombs 2021-12-18 05:02:18 -06:00
parent 69bd95dcd8
commit b7e1ec7bda
4 changed files with 17 additions and 1 deletions

View file

@ -571,6 +571,12 @@ static int vt_pixbuf_set_attachments(void *log_ctx,
return 0;
}
int av_vt_pixbuf_set_attachments(void *log_ctx,
CVPixelBufferRef pixbuf, const AVFrame *src)
{
return vt_pixbuf_set_attachments(log_ctx, pixbuf, src);
}
static int vt_map_frame(AVHWFramesContext *ctx, AVFrame *dst, const AVFrame *src,
int flags)
{