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

Steve Lhomme robux4 at ycbcr.xyz
Thu Sep 3 07:52:26 CEST 2020


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



More information about the vlc-devel mailing list