Commit 80649c2c authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf

smem: Allow usage of RGBA

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
(cherry picked from commit 1eb0e68191ef5187b4b15896a64b3b8db3ea7b9a)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent ce4abeae
...@@ -230,6 +230,7 @@ static sout_stream_id_t *AddVideo( sout_stream_t *p_stream, es_format_t *p_fmt ) ...@@ -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 ) switch( p_fmt->i_codec )
{ {
case VLC_CODEC_RGB32: case VLC_CODEC_RGB32:
case VLC_CODEC_RGBA:
i_bits_per_pixel = 32; i_bits_per_pixel = 32;
break; break;
case VLC_CODEC_I444: case VLC_CODEC_I444:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment