mirror of
https://github.com/yattee/yattee.git
synced 2024-12-23 14:03:41 +00:00
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]()
|
||
|
}
|