Commit 8db5db86 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Support blending of RGBA and YUVA subpicture in addition to YUVP

parent 795b5c7c
...@@ -547,8 +547,7 @@ void spu_RenderSubpictures( spu_t *p_spu, video_format_t *p_fmt, ...@@ -547,8 +547,7 @@ void spu_RenderSubpictures( spu_t *p_spu, video_format_t *p_fmt,
p_spu->p_blend->fmt_out.video.i_y_offset = 0; p_spu->p_blend->fmt_out.video.i_y_offset = 0;
p_spu->p_blend->fmt_out.video.i_aspect = p_fmt->i_aspect; p_spu->p_blend->fmt_out.video.i_aspect = p_fmt->i_aspect;
p_spu->p_blend->fmt_out.video.i_chroma = p_fmt->i_chroma; p_spu->p_blend->fmt_out.video.i_chroma = p_fmt->i_chroma;
p_spu->p_blend->fmt_in.video.i_chroma = VLC_FOURCC('Y','U','V','P'); p_spu->p_blend->fmt_in.video.i_chroma = p_region->fmt.i_chroma;
/* FIXME: We'll also be using it for YUVA and RGBA blending ... */
p_spu->p_blend->p_module = p_spu->p_blend->p_module =
module_Need( p_spu->p_blend, "video blending", 0, 0 ); module_Need( p_spu->p_blend, "video blending", 0, 0 );
......
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