diff options
author | Rudolf Polzer <divverent@xonotic.org> | 2012-12-28 08:12:25 +0100 |
---|---|---|
committer | Rudolf Polzer <divverent@xonotic.org> | 2012-12-28 08:31:58 +0100 |
commit | e830b004580a547c1d27f106ca493c70712ec1a6 (patch) | |
tree | 64f0bf89883d7dfcde7ab85bbb591171fcfd447c /video | |
parent | 844bba6645864ad2ccd9cc40bab2c4553b50d35b (diff) | |
download | mpv-e830b004580a547c1d27f106ca493c70712ec1a6.tar.bz2 mpv-e830b004580a547c1d27f106ca493c70712ec1a6.tar.xz |
vf_scale: support more pixel formats
The RGBA, ARGB, BGRA, ABGR were previously not always supported,
depending on system endianness.
Diffstat (limited to 'video')
-rw-r--r-- | video/filter/vf_scale.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/video/filter/vf_scale.c b/video/filter/vf_scale.c index 52994762eb..f19225fddd 100644 --- a/video/filter/vf_scale.c +++ b/video/filter/vf_scale.c @@ -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, |