refactor: change render mode back to NSDefaultRunLoopMode

This commit is contained in:
Acaki committed 2025-08-19 23:14:47 +08:00
1 parent 9e20efff4b
commit 1d1e553191
1 file changed
+1 -1
+1 -1
View File
@@ -171,7 +171,7 @@ extern int ff_isom_write_av1c(AVIOContext *pb, const uint8_t *buf, int size,
else { else {
_displayLink.preferredFramesPerSecond = self->_frameRate; _displayLink.preferredFramesPerSecond = self->_frameRate;
} }
[_displayLink addToRunLoop:[NSRunLoop mainRunLoop] forMode:NSRunLoopCommonModes]; [_displayLink addToRunLoop:[NSRunLoop mainRunLoop] forMode:NSDefaultRunLoopMode];
} else { } else {
_renderingBackend = RENDER_METAL; _renderingBackend = RENDER_METAL;
// RENDER_METAL begins in StreamFrameViewController. // RENDER_METAL begins in StreamFrameViewController.