refactor: change render mode back to NSDefaultRunLoopMode
This commit is contained in:
1 parent
9e20efff4b
commit
1d1e553191
1 file changed
+1
-1
@@ -171,7 +171,7 @@ extern int ff_isom_write_av1c(AVIOContext *pb, const uint8_t *buf, int size,
|
||||
else {
|
||||
_displayLink.preferredFramesPerSecond = self->_frameRate;
|
||||
}
|
||||
[_displayLink addToRunLoop:[NSRunLoop mainRunLoop] forMode:NSRunLoopCommonModes];
|
||||
[_displayLink addToRunLoop:[NSRunLoop mainRunLoop] forMode:NSDefaultRunLoopMode];
|
||||
} else {
|
||||
_renderingBackend = RENDER_METAL;
|
||||
// RENDER_METAL begins in StreamFrameViewController.
|
||||
|
||||
Reference in new issue
Block a user