Skip to content
Snippets Groups Projects
Commit a478e7bc authored by Alexandre Janniaux's avatar Alexandre Janniaux Committed by Jean-Baptiste Kempf
Browse files

interop_vaapi: fix 420_10BPP format description

VLC_CODEC_VAAPI_420_10BPP is equivalent to VLC_FOURCC_P010 and has a
plane description that is like NV12, so it should not be different from
NV12. Only the bits per component, and so texture storage type is
changing for this format.

It was leading to incorrect or green color rendering with vaapi.
Regression from c344522f.

Fixes #26883
parent b95d8211
No related branches found
No related tags found
Loading
Pipeline #215712 passed with stages
in 35 minutes and 53 seconds
......@@ -499,7 +499,7 @@ Open(vlc_object_t *obj)
.type = GL_UNSIGNED_BYTE,
};
interop->texs[1] = (struct vlc_gl_tex_cfg) {
.w = {1, 1},
.w = {1, 2},
.h = {1, 2},
.internal = GL_RG16,
.format = GL_RG,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment