mirror of
https://github.com/mpv-player/mpv
synced 2025-03-18 17:40:30 +00:00
vo_opengl/vaapi: use IMGFMT_RGB0
More correct, might make things slightly faster (probably insignificant).
This commit is contained in:
parent
d6de87d1d3
commit
91472b84c2
@ -79,7 +79,7 @@ static int create(struct gl_hwdec *hw)
|
||||
return -1;
|
||||
}
|
||||
hw->info->vaapi_ctx = p->ctx;
|
||||
hw->converted_imgfmt = IMGFMT_RGBA;
|
||||
hw->converted_imgfmt = IMGFMT_RGB0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user