[vlc-commits] vout/ios: fix execution

Felix Paul Kühne git at videolan.org
Mon Jul 22 18:42:33 CEST 2019


vlc | branch: master | Felix Paul Kühne <felix at feepk.net> | Mon Jul 22 18:26:58 2019 +0200| [9db9c1121193c2a201eb37e9858a603509f684a6] | committer: Felix Paul Kühne

vout/ios: fix execution

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

 modules/video_output/ios.m | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/modules/video_output/ios.m b/modules/video_output/ios.m
index cd7a49cebf..e77cc93ea5 100644
--- a/modules/video_output/ios.m
+++ b/modules/video_output/ios.m
@@ -147,7 +147,7 @@ static int Open(vout_display_t *vd, const vout_display_cfg_t *cfg,
     if (vout_display_cfg_IsWindowed(cfg))
         return VLC_EGENERIC;
 
-    vout_display_sys_t *sys = vlc_obj_calloc(vd, 1, sizeof(*sys));
+    vout_display_sys_t *sys = calloc(1, sizeof(*sys));
 
     if (!sys)
         return VLC_ENOMEM;
@@ -688,10 +688,6 @@ static void GLESSwap(vlc_gl_t *gl)
         _place = place;
     }
 
-    vout_display_sys_t *sys = _voutDisplay->sys;
-    vout_window_ReportSize(sys->embed, _viewSize.width * _scaleFactor,
-                           _viewSize.height * _scaleFactor);
-
     vlc_mutex_unlock(&_mutex);
 }
 



More information about the vlc-commits mailing list