diff options
author | wm4 <wm4@nowhere> | 2013-08-15 18:21:54 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-08-15 23:40:02 +0200 |
commit | 006c2f66e109099d1956594234f54a5f3b5f0ec5 (patch) | |
tree | 81da41f627772ec9181e5132c5c410a901ecf78f /video/decode/vd_lavc.c | |
parent | be2f2ff033620b31fe04cf53f2b745ebfb2e0ffc (diff) | |
download | mpv-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/vd_lavc.c')
-rw-r--r-- | video/decode/vd_lavc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c index ba9b81d98e..b77e540168 100644 --- a/video/decode/vd_lavc.c +++ b/video/decode/vd_lavc.c @@ -747,8 +747,8 @@ static int decode(struct sh_video *sh, struct demux_packet *packet, struct mp_image *mpi = image_from_decoder(sh); assert(mpi->planes[0]); - if (ctx->hwdec && ctx->hwdec->fix_image) - ctx->hwdec->fix_image(ctx, mpi); + if (ctx->hwdec && ctx->hwdec->process_image) + ctx->hwdec->process_image(ctx, mpi); mpi->colorspace = ctx->image_params.colorspace; mpi->levels = ctx->image_params.colorlevels; |