[SCM] libav/experimental: Let SwScaler know that RGB48 BE/LE is 16-bits per component format.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:46:05 UTC 2013
The following commit has been merged in the experimental branch:
commit 5b21719ea223b2973dd81d08393feb8610648744
Author: Kostya Shishkov <kostya.shishkov at gmail.com>
Date: Tue May 19 17:37:58 2009 +0000
Let SwScaler know that RGB48 BE/LE is 16-bits per component format.
Originally committed as revision 29317 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index effbae9..18a79ca 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 \
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list