[vlc-devel] [PATCH 09/15] kva: use the locally edited output format to log the chroma

Thomas Guillem thomas at gllm.fr
Thu Sep 3 10:11:10 CEST 2020


OK

On Thu, Sep 3, 2020, at 07:52, Steve Lhomme wrote:
> It may differ if we change the chroma of the local fmt before it's set on
> vd->fmt.
> ---
>  modules/video_output/kva.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/modules/video_output/kva.c b/modules/video_output/kva.c
> index cda74bddabe..fb7d289e20d 100644
> --- a/modules/video_output/kva.c
> +++ b/modules/video_output/kva.c
> @@ -592,7 +592,7 @@ static int OpenDisplay( vout_display_t *vd, 
> video_format_t *fmt )
>      char *title = var_InheritString( vd, "video-title" );
>      if (title != NULL
>       || asprintf( &title, VOUT_TITLE " (%4.4s to %4.4s - %s mode KVA 
> output)",
> -                  (char *)&vd->fmt->i_chroma, (char 
> *)&sys->kvas.fccSrcColor,
> +                  (char *)&fmt->i_chroma, (char 
> *)&sys->kvas.fccSrcColor,
>                    psz_video_mode[sys->kvac.ulMode - 1] ) >= 0)
>      {
>          WinSetWindowText( sys->frame, title );
> -- 
> 2.26.2
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list