summaryrefslogtreecommitdiffstats
path: root/video/hwdec.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/hwdec.h')
-rw-r--r--video/hwdec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/hwdec.h b/video/hwdec.h
index 3a551ef6f7..f8a77465f3 100644
--- a/video/hwdec.h
+++ b/video/hwdec.h
@@ -122,6 +122,8 @@ struct hwcontext_fns {
// AVFrame, with all other fields already set. img.hwctx will be set, and
// use the correct AV_HWDEVICE_TYPE_.
void (*complete_image_params)(struct mp_image *img);
+ // Fill in special format-specific requirements.
+ void (*refine_hwframes)(struct AVBufferRef *hw_frames_ctx);
};
// The parameter is of type enum AVHWDeviceType (as in int to avoid extensive