[vlc-commits] vout:fb: use vout_display_cfg_IsWindowed()

Steve Lhomme git at videolan.org
Tue Nov 27 15:49:02 CET 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Nov 13 10:13:22 2018 +0100| [a16364c5ed2a0f702c80622637c956a7a6eb355f] | committer: Steve Lhomme

vout:fb: use vout_display_cfg_IsWindowed()

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a16364c5ed2a0f702c80622637c956a7a6eb355f
---

 modules/video_output/fb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/fb.c b/modules/video_output/fb.c
index 424c045707..f3da704840 100644
--- a/modules/video_output/fb.c
+++ b/modules/video_output/fb.c
@@ -177,7 +177,7 @@ static int Open(vlc_object_t *object)
     video_format_t *fmtp = &vd->fmt;
     vout_display_sys_t *sys;
 
-    if (vout_display_IsWindowed(vd))
+    if (vout_display_cfg_IsWindowed(cfg))
         return VLC_EGENERIC;
 
     /* Allocate instance and initialize some members */



More information about the vlc-commits mailing list