mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
[WIP] Star refs
This commit is contained in:
@@ -4,10 +4,12 @@ import CoreMedia
|
||||
import FFMpegBinding
|
||||
import VideoToolbox
|
||||
|
||||
#if os(macOS)
|
||||
private let isHardwareAv1Supported: Bool = {
|
||||
let value = VTIsHardwareDecodeSupported(kCMVideoCodecType_AV1)
|
||||
return value
|
||||
}()
|
||||
#endif
|
||||
|
||||
public protocol MediaDataReader: AnyObject {
|
||||
var hasVideo: Bool { get }
|
||||
|
||||
Reference in New Issue
Block a user