mirror of https://github.com/mpv-player/mpv
Remove workaround for rgb/bgr mess.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27520 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a56ed81a5c
commit
a42e4e1bd5
|
@ -221,7 +221,7 @@ const char *sws_format_name(int format);
|
|||
|| (x)==PIX_FMT_GRAY16LE \
|
||||
)
|
||||
#define isRGB(x) ( \
|
||||
(x)==PIX_FMT_BGR32 \
|
||||
(x)==PIX_FMT_RGB32 \
|
||||
|| (x)==PIX_FMT_RGB24 \
|
||||
|| (x)==PIX_FMT_RGB565 \
|
||||
|| (x)==PIX_FMT_RGB555 \
|
||||
|
@ -231,7 +231,7 @@ const char *sws_format_name(int format);
|
|||
|| (x)==PIX_FMT_MONOBLACK \
|
||||
)
|
||||
#define isBGR(x) ( \
|
||||
(x)==PIX_FMT_RGB32 \
|
||||
(x)==PIX_FMT_BGR32 \
|
||||
|| (x)==PIX_FMT_BGR24 \
|
||||
|| (x)==PIX_FMT_BGR565 \
|
||||
|| (x)==PIX_FMT_BGR555 \
|
||||
|
|
Loading…
Reference in New Issue