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

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


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

vout: caca: use vout_display_cfg_IsWindowed()

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

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

diff --git a/modules/video_output/caca.c b/modules/video_output/caca.c
index e92a7bce31..4c7abfed67 100644
--- a/modules/video_output/caca.c
+++ b/modules/video_output/caca.c
@@ -375,7 +375,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;
 #if !defined(__APPLE__) && !defined(_WIN32)
 # ifndef X_DISPLAY_MISSING



More information about the vlc-commits mailing list