<html><head></head><body>Hi,<br><br>Logo was designed, and is primarily intended for use with encoding. It uses YUVA because that's easy to blend into video.<br><br>And while it is true that vout display expect RGBA, they don't seem to agree on whether it should be premultipled or not.<br><br><div class="gmail_quote">Le 29 mai 2019 14:23:55 GMT+03:00, Steve Lhomme <robux4@ycbcr.xyz> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">That's what most display module will prefer anyway<hr> modules/spu/logo.c | 4 ++--<br> 1 file changed, 2 insertions(+), 2 deletions(-)<br><br>diff --git a/modules/spu/logo.c b/modules/spu/logo.c<br>index c120b503e1..0b2ddd3ca8 100644<br>--- a/modules/spu/logo.c<br>+++ b/modules/spu/logo.c<br>@@ -380,7 +380,7 @@ static subpicture_t *FilterSub( filter_t *p_filter, vlc_tick_t date )<br> goto exit;<br> <br> /* Create new SPU region */<br>- video_format_Init( &fmt, VLC_CODEC_YUVA );<br>+ video_format_Init( &fmt, VLC_CODEC_RGBA );<br> fmt.i_sar_num = fmt.i_sar_den = 1;<br> fmt.i_width = fmt.i_visible_width = p_pic->p[Y_PLANE].i_visible_pitch;<br> fmt.i_height = fmt.i_visible_height = p_pic->p[Y_PLANE].i_visible_lines;<br>@@ -612,7 +612,7 @@ static picture_t *LoadImage( vlc_object_t *p_this, const char *psz_filename )<br> return NULL;<br> <br> video_format_t fmt_out;<br>- video_format_Init( &fmt_out, VLC_CODEC_YUVA );<br>+ video_format_Init( &fmt_out, VLC_CODEC_RGBA );<br> <br> char *psz_url = vlc_path2uri( psz_filename, NULL );<br> picture_t *p_pic = image_ReadUrl( p_image, psz_url, &fmt_out );</pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>