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

git at videolan.org git at videolan.org
Sat Jul 24 18:31:57 CEST 2010


vlc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Thu Jul 22 22:16:42 2010 +0200| [1eb0e68191ef5187b4b15896a64b3b8db3ea7b9a] | committer: Rémi Denis-Courmont 

smem: Allow usage of RGBA

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1eb0e68191ef5187b4b15896a64b3b8db3ea7b9a
---

 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 3a14726..c4ef2e1 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