diff options
Diffstat (limited to 'video/out/opengl/hwdec_vaegl.c')
-rw-r--r-- | video/out/opengl/hwdec_vaegl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/opengl/hwdec_vaegl.c b/video/out/opengl/hwdec_vaegl.c index ef68f3aac8..4b164ab407 100644 --- a/video/out/opengl/hwdec_vaegl.c +++ b/video/out/opengl/hwdec_vaegl.c @@ -423,7 +423,7 @@ static void determine_working_formats(struct gl_hwdec *hw) if (s) { va_surface_init_subformat(s); if (try_format(hw, s)) - MP_TARRAY_APPEND(p, formats, num_formats, s->params.hw_subfmt); + MP_TARRAY_APPEND(p, formats, num_formats, IMGFMT_NV12); } talloc_free(s); talloc_free(alloc); |