Commit 373c9257 authored by Yann Diorcet's avatar Yann Diorcet
Browse files

IOSCapture:Fix when window id is 0

parent e700cbf9
......@@ -525,9 +525,7 @@ static int ioscapture_set_native_window(MSFilter *f, void *arg) {
IOSCapture *thiz = (IOSCapture*)f->data;
if (thiz != nil) {
// set curent parent view
if (parentView) {
[thiz performSelectorOnMainThread:@selector(setParentView:) withObject:parentView waitUntilDone:NO];
}
[thiz performSelectorOnMainThread:@selector(setParentView:) withObject:parentView waitUntilDone:NO];
}
return 0;
}
......
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