summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkostya <kostya@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-05-19 17:37:58 +0000
committerkostya <kostya@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-05-19 17:37:58 +0000
commit5b29003e0c0ee684ae3bf00fae763448ddd9563a (patch)
tree770dd6ffc95042c61cf8e7c8ec060d90e9d92d91
parent3da99d25248c090b4f28869093011486052d9c3d (diff)
downloadmpv-5b29003e0c0ee684ae3bf00fae763448ddd9563a.tar.bz2
mpv-5b29003e0c0ee684ae3bf00fae763448ddd9563a.tar.xz
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
-rw-r--r--libswscale/swscale_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index effbae9843..18a79cac54 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -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 \