[vlc-devel] [PATCH] swscale: Fix pixel format for VLC_CODEC_RGBA

falbrechtskirchinger at gmail.com falbrechtskirchinger at gmail.com
Thu Dec 20 14:29:49 CET 2012


From: Florian Albrechtskirchinger <falbrechtskirchinger at gmail.com>

Reverts the swscale changes of
fb7f014161f68c914e028adbea68b7ee9863c76e
---
 modules/video_filter/swscale.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_filter/swscale.c b/modules/video_filter/swscale.c
index d7ef3ba..f9c9ed5 100644
--- a/modules/video_filter/swscale.c
+++ b/modules/video_filter/swscale.c
@@ -263,7 +263,7 @@ static void FixParameters( int *pi_fmt, bool *pb_has_a, bool *pb_swap_uv, vlc_fo
         *pb_has_a = true;
         break;
     case VLC_CODEC_RGBA:
-        *pi_fmt = PIX_FMT_BGR32;
+        *pi_fmt = PIX_FMT_RGB32;
         *pb_has_a = true;
         break;
     case VLC_CODEC_YV12:
-- 
1.8.0.2




More information about the vlc-devel mailing list