[vlc-commits] commit: smem: Allow usage of RGBA ( Hugo Beauzée-Luyssen )

git at videolan.org git at videolan.org
Mon Jul 26 00:41:50 CEST 2010


vlc/vlc-1.1 | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Thu Jul 22 22:16:42 2010 +0200| [80649c2cf8add12baf3bd82da3ca4dfacd2818e5] | committer: Jean-Baptiste Kempf 

smem: Allow usage of RGBA

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
(cherry picked from commit 1eb0e68191ef5187b4b15896a64b3b8db3ea7b9a)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=80649c2cf8add12baf3bd82da3ca4dfacd2818e5
---

 modules/stream_out/smem.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/stream_out/smem.c b/modules/stream_out/smem.c
index 9d317ea..784c31b 100644
--- a/modules/stream_out/smem.c
+++ b/modules/stream_out/smem.c
@@ -230,6 +230,7 @@ static sout_stream_id_t *AddVideo( sout_stream_t *p_stream, es_format_t *p_fmt )
     switch( p_fmt->i_codec )
     {
         case VLC_CODEC_RGB32:
+        case VLC_CODEC_RGBA:
             i_bits_per_pixel = 32;
             break;
         case VLC_CODEC_I444:



More information about the vlc-commits mailing list