Skip to content

Commit

Permalink
iossim: disable video as opengl keeps crashing on ARM machines
Browse files Browse the repository at this point in the history
  • Loading branch information
z-dule committed May 31, 2024
1 parent 8f5c534 commit 0053f1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions iosx/src/flowmgr/AVSVideoView.m
Original file line number Diff line number Diff line change
Expand Up @@ -610,12 +610,14 @@ - (void)didMoveToWindow
}
}

#if !TARGET_IPHONE_SIMULATOR
if (self.window) {
[self startRunning];
}
else {
[self stopRunning];
}
#endif
}

- (void)applicationWillResignActive:(NSNotification *)notification
Expand Down

0 comments on commit 0053f1b

Please sign in to comment.