diff options
Diffstat (limited to 'video/out/gl_hwdec_vda.c')
-rw-r--r-- | video/out/gl_hwdec_vda.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/video/out/gl_hwdec_vda.c b/video/out/gl_hwdec_vda.c index d90b3419ae..bc18983d3d 100644 --- a/video/out/gl_hwdec_vda.c +++ b/video/out/gl_hwdec_vda.c @@ -97,8 +97,9 @@ static int create(struct gl_hwdec *hw) return 0; } -static int reinit(struct gl_hwdec *hw, const struct mp_image_params *params) +static int reinit(struct gl_hwdec *hw, struct mp_image_params *params) { + params->imgfmt = hw->driver->imgfmt; return 0; } |