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

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


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

vout: ios: use vout_display_cfg_IsWindowed()

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

 modules/video_output/ios.m | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/video_output/ios.m b/modules/video_output/ios.m
index 7629cdbb87..f834eefb91 100644
--- a/modules/video_output/ios.m
+++ b/modules/video_output/ios.m
@@ -144,8 +144,9 @@ static void *OurGetProcAddress(vlc_gl_t *gl, const char *name)
 static int Open(vlc_object_t *this)
 {
     vout_display_t *vd = (vout_display_t *)this;
+    const vout_display_cfg_t *cfg = vd->cfg;
 
-    if (vout_display_IsWindowed(vd))
+    if (vout_display_cfg_IsWindowed(cfg))
         return VLC_EGENERIC;
 
     vout_display_sys_t *sys = vlc_obj_calloc (this, 1, sizeof(*sys));



More information about the vlc-commits mailing list