mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-03 21:16:35 +00:00
Fix media playback
This commit is contained in:
parent
67b159998a
commit
c3373cc263
@ -209,9 +209,6 @@ final class FFMpegMediaFrameSource: NSObject, MediaFrameSource {
|
||||
let currentSemaphore = Atomic<Atomic<DispatchSemaphore?>?>(value: nil)
|
||||
|
||||
disposable.set(ActionDisposable {
|
||||
self.performWithContext({ context in
|
||||
context.close()
|
||||
})
|
||||
currentSemaphore.with({ $0 })?.with({ $0 })?.signal()
|
||||
})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user