mirror of https://github.com/mpv-player/mpv
Let SwScaler know that RGB48 BE/LE is 16-bits per component format.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29317 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
3da99d2524
commit
5b29003e0c
|
@ -299,6 +299,8 @@ const char *sws_format_name(int format);
|
|||
#define is16BPS(x) ( \
|
||||
(x)==PIX_FMT_GRAY16BE \
|
||||
|| (x)==PIX_FMT_GRAY16LE \
|
||||
|| (x)==PIX_FMT_RGB48BE \
|
||||
|| (x)==PIX_FMT_RGB48LE \
|
||||
|| (x)==PIX_FMT_YUV420PLE \
|
||||
|| (x)==PIX_FMT_YUV422PLE \
|
||||
|| (x)==PIX_FMT_YUV444PLE \
|
||||
|
|
Loading…
Reference in New Issue