This commit is contained in:
Alex Kim
2025-12-07 02:22:09 +11:00
parent 7135be198a
commit 074222050a
5 changed files with 48 additions and 27 deletions

View File

@@ -558,6 +558,8 @@ final class MPVSoftwareRenderer {
}
private func createPixelBufferPool(width: Int, height: Int) {
guard width > 0, height > 0 else { return }
let pixelFormat = kCVPixelFormatType_32BGRA
let attrs: [CFString: Any] = [