diff options
Diffstat (limited to 'video/out/gl_video.c')
-rw-r--r-- | video/out/gl_video.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/video/out/gl_video.c b/video/out/gl_video.c index 2660dacf7a..b3728eef44 100644 --- a/video/out/gl_video.c +++ b/video/out/gl_video.c @@ -1700,7 +1700,8 @@ struct mp_image *gl_video_download_image(struct gl_video *p) return NULL; if (p->hwdec_active && p->hwdec->driver->download_image) { - struct mp_image *dlimage = p->hwdec->driver->download_image(p->hwdec); + struct mp_image *dlimage = + p->hwdec->driver->download_image(p->hwdec, vimg->hwimage); if (dlimage) mp_image_set_attributes(dlimage, &p->image_params); return dlimage; |