mirror of
https://github.com/yattee/yattee.git
synced 2024-12-23 05:53:41 +00:00
70c089e696
Fix environment objects Hide video player placeholder on tvOS Queue improvements
15 lines
288 B
Swift
15 lines
288 B
Swift
import AVFoundation
|
|
import Foundation
|
|
|
|
struct PlayerQueueItem: Hashable, Identifiable {
|
|
var id = UUID()
|
|
var video: Video
|
|
|
|
init(_ video: Video) {
|
|
self.video = video
|
|
}
|
|
|
|
var playerItems = [AVPlayerItem]()
|
|
var compositions = [Stream: AVMutableComposition]()
|
|
}
|