From 8db5db86f6aaa40009630659ee07c627666a4e13 Mon Sep 17 00:00:00 2001 From: Jean-Paul Saman Date: Thu, 18 Oct 2007 22:09:48 +0000 Subject: [PATCH] Support blending of RGBA and YUVA subpicture in addition to YUVP --- src/video_output/vout_subpictures.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/video_output/vout_subpictures.c b/src/video_output/vout_subpictures.c index 680ce41ac3..1e3e24e501 100644 --- a/src/video_output/vout_subpictures.c +++ b/src/video_output/vout_subpictures.c @@ -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_aspect = p_fmt->i_aspect; 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'); - /* FIXME: We'll also be using it for YUVA and RGBA blending ... */ + p_spu->p_blend->fmt_in.video.i_chroma = p_region->fmt.i_chroma; p_spu->p_blend->p_module = module_Need( p_spu->p_blend, "video blending", 0, 0 ); -- 2.20.1