vlc/vlc-3.0 | branch: master | Thomas Guillem <[email protected]> | Tue Mar 6 12:06:07 2018 +0100| [e9939886e0ece246b17f1b77f6367126b62080d7] | committer: Thomas Guillem
vout: ios: remove useless performSelectorOnMainThread fetchViewContainer() is already called from the MainThread. (cherry picked from commit 71cbce5118360e399f0ea0dea1ff8d7db4a14aaa) Signed-off-by: Thomas Guillem <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=e9939886e0ece246b17f1b77f6367126b62080d7 --- modules/video_output/ios.m | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/video_output/ios.m b/modules/video_output/ios.m index 3e3bb15c7f..d8f038902d 100644 --- a/modules/video_output/ios.m +++ b/modules/video_output/ios.m @@ -493,9 +493,7 @@ static void GLESSwap(vlc_gl_t *gl) self.frame = viewContainer.bounds; [self reshape]; - [sys->viewContainer performSelectorOnMainThread:@selector(addSubview:) - withObject:self - waitUntilDone:YES]; + [sys->viewContainer addSubview:self]; /* add tap gesture recognizer for DVD menus and stuff */ sys->tapRecognizer = [[UITapGestureRecognizer alloc] initWithTarget:self _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
