[vlc-commits] vout: kms: use vout_display_cfg_IsWindowed()
    Steve Lhomme 
    git at videolan.org
       
    Tue Nov 27 15:49:01 CET 2018
    
    
  
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Nov 13 10:12:12 2018 +0100| [bcba5400abd041c19cbeeb006f17f7dfc7c1e226] | committer: Steve Lhomme
vout: kms: use vout_display_cfg_IsWindowed()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bcba5400abd041c19cbeeb006f17f7dfc7c1e226
---
 modules/video_output/kms.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_output/kms.c b/modules/video_output/kms.c
index a68fe89a71..80733c576a 100644
--- a/modules/video_output/kms.c
+++ b/modules/video_output/kms.c
@@ -711,7 +711,7 @@ static int Open(vlc_object_t *object)
     video_format_t fmt = {};
     char *chroma;
 
-    if (vout_display_IsWindowed(vd))
+    if (vout_display_cfg_IsWindowed(cfg))
         return VLC_EGENERIC;
 
     /*
    
    
More information about the vlc-commits
mailing list