Commit 54ef642c authored by Jean-Paul Saman's avatar Jean-Paul Saman Committed by Jean-Paul Saman

Support for RGBA.

parent 34eb17b4
......@@ -595,6 +595,7 @@ void vout_InitFormat( video_frame_format_t *p_format, vlc_fourcc_t i_chroma,
break;
case FOURCC_RV32:
case FOURCC_RGBA:
p_format->i_bits_per_pixel = 32;
break;
case FOURCC_RV24:
......@@ -823,6 +824,7 @@ int __vout_InitPicture( vlc_object_t *p_this, picture_t *p_pic,
break;
case FOURCC_RV32:
case FOURCC_RGBA:
p_pic->p->i_lines = i_height_aligned;
p_pic->p->i_visible_lines = i_height;
p_pic->p->i_pitch = i_width_aligned * 4;
......
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