diff options
Diffstat (limited to 'video/decode/lavc.h')
-rw-r--r-- | video/decode/lavc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/decode/lavc.h b/video/decode/lavc.h index cc098b998e..f58ee8bc1e 100644 --- a/video/decode/lavc.h +++ b/video/decode/lavc.h @@ -102,6 +102,8 @@ struct vd_lavc_hwdec { // The returned device will be freed with mp_hwdec_ctx->destroy. struct mp_hwdec_ctx *(*create_dev)(struct mpv_global *global, struct mp_log *log, bool probing); + // Optional. Fill in special hwaccel- and codec-specific requirements. + void (*hwframes_refine)(struct lavc_ctx *ctx, AVBufferRef *hw_frames_ctx); // Suffix for libavcodec decoder. If non-NULL, the codec is overridden // with hwdec_find_decoder. // Intuitively, this will force the corresponding wrapper decoder. |