GIF fixes

This commit is contained in:
Ali
2020-05-26 18:51:27 +04:00
parent 5ecbcc0f19
commit 83952f399c
21 changed files with 564 additions and 158 deletions

View File

@@ -54,11 +54,14 @@ func takeSampleBufferLayer() -> SampleBufferLayer {
Queue.mainQueue().async {
layer.flushAndRemoveImage()
layer.setAffineTransform(CGAffineTransform.identity)
#if targetEnvironment(simulator)
#else
let _ = pool.modify { list in
var list = list
list.append(layer)
return list
}
#endif
}
})
}