mirror of https://github.com/mpv-player/mpv
vf_scale: support more pixel formats
The RGBA, ARGB, BGRA, ABGR were previously not always supported, depending on system endianness.
This commit is contained in:
parent
844bba6645
commit
e830b00458
|
@ -118,6 +118,10 @@ static const unsigned int outfmt_list[]={
|
|||
// RGB and grayscale (Y8 and Y800):
|
||||
IMGFMT_BGR32,
|
||||
IMGFMT_RGB32,
|
||||
IMGFMT_ABGR,
|
||||
IMGFMT_ARGB,
|
||||
IMGFMT_BGRA,
|
||||
IMGFMT_RGBA,
|
||||
IMGFMT_BGR24,
|
||||
IMGFMT_RGB24,
|
||||
IMGFMT_GBRP,
|
||||
|
|
Loading…
Reference in New Issue