Commit 71cbce51 authored by Thomas Guillem's avatar Thomas Guillem

vout: ios: remove useless performSelectorOnMainThread

fetchViewContainer() is already called from the MainThread.
parent a0df7191
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment