mirror of
https://github.com/mpv-player/mpv
synced 2025-02-16 12:17:12 +00:00
f_hwtransfer: extend vaapi whitelist with some working formats
Notably, BGR0, which is the only additional format listed as supported by the texture mapper, results in broken colors. This is most likely not a mpv issue, so the whitelist fulfils its purpose.
This commit is contained in:
parent
a500608845
commit
044996e112
@ -51,7 +51,8 @@ struct ffmpeg_and_other_bugs {
|
||||
static const struct ffmpeg_and_other_bugs shitlist[] = {
|
||||
{
|
||||
.imgfmt = IMGFMT_VAAPI,
|
||||
.whitelist_formats = (const int[]){IMGFMT_NV12, IMGFMT_P010, 0},
|
||||
.whitelist_formats = (const int[]){IMGFMT_NV12, IMGFMT_P010, IMGFMT_BGRA,
|
||||
IMGFMT_ABGR, IMGFMT_RGB0, 0},
|
||||
.force_same_upload_fmt = true,
|
||||
},
|
||||
{0}
|
||||
|
Loading…
Reference in New Issue
Block a user