fix: metal renderer stuck when disconnect and resume stream

This commit is contained in:
Acaki
2025-07-22 16:55:12 +08:00
parent 55ac533718
commit 4fb3f7fa97
4 changed files with 19 additions and 2 deletions
+1
View File
@@ -125,6 +125,7 @@ extern int ff_isom_write_av1c(AVIOContext *pb, const uint8_t *buf, int size,
_parameterSetBuffers = [[NSMutableArray alloc] init];
_frameQueue = [FrameQueue sharedInstance];
[_frameQueue start];
_maxRefreshRate = [[UIScreen mainScreen] maximumFramesPerSecond];
DataManager* dataMan = [[DataManager alloc] init];