summaryrefslogtreecommitdiffstats
path: root/video/decode/lavc.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-08-15 18:21:54 +0200
committerwm4 <wm4@nowhere>2013-08-15 23:40:02 +0200
commit006c2f66e109099d1956594234f54a5f3b5f0ec5 (patch)
tree81da41f627772ec9181e5132c5c410a901ecf78f /video/decode/lavc.h
parentbe2f2ff033620b31fe04cf53f2b745ebfb2e0ffc (diff)
downloadmpv-006c2f66e109099d1956594234f54a5f3b5f0ec5.tar.bz2
mpv-006c2f66e109099d1956594234f54a5f3b5f0ec5.tar.xz
video/decode: change fix_image callback
This might make it slightly easier when trying to implement surface read-back for hardware decoding.
Diffstat (limited to 'video/decode/lavc.h')
-rw-r--r--video/decode/lavc.h3
1 files changed, 2 insertions, 1 deletions
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 {