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

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


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

vout: mmal: use vout_display_cfg_IsWindowed()

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

 modules/hw/mmal/vout.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/hw/mmal/vout.c b/modules/hw/mmal/vout.c
index 720da3c331..2adeca698a 100644
--- a/modules/hw/mmal/vout.c
+++ b/modules/hw/mmal/vout.c
@@ -193,7 +193,7 @@ static int Open(vlc_object_t *object)
     int ret = VLC_SUCCESS;
     unsigned i;
 
-    if (vout_display_IsWindowed(vd))
+    if (vout_display_cfg_IsWindowed(cfg))
         return VLC_EGENERIC;
 
     sys = calloc(1, sizeof(struct vout_display_sys_t));



More information about the vlc-commits mailing list