From 006c2f66e109099d1956594234f54a5f3b5f0ec5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 15 Aug 2013 18:21:54 +0200 Subject: video/decode: change fix_image callback This might make it slightly easier when trying to implement surface read-back for hardware decoding. --- video/decode/lavc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'video/decode/lavc.h') diff --git a/video/decode/lavc.h b/video/decode/lavc.h index f2ac5691d2..769d20b0df 100644 --- a/video/decode/lavc.h +++ b/video/decode/lavc.h @@ -63,7 +63,8 @@ struct vd_lavc_hwdec { void (*uninit)(struct lavc_ctx *ctx); struct mp_image *(*allocate_image)(struct lavc_ctx *ctx, int fmt, int w, int h); - void (*fix_image)(struct lavc_ctx *ctx, struct mp_image *img); + // Process the image returned by the libavcodec decoder. + struct mp_image *(*process_image)(struct lavc_ctx *ctx, struct mp_image *img); }; enum { -- cgit v1.2.3