Skip to content

Commit

Permalink
Handle ProRes 4444 XQ better (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
finnvoor committed Apr 8, 2024
1 parent 086f276 commit c9a1756
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ public extension AVVideoCodecType {
var isProRes: Bool {
switch self {
#if !os(visionOS)
case .proRes422, .proRes4444, .proRes422HQ, .proRes422LT, .proRes422Proxy: true
case .proRes422, .proRes4444, .proRes422HQ, .proRes422LT, .proRes422Proxy, AVVideoCodecType(rawValue: "ap4x"): true
#endif
default: false
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ extension CMFormatDescription {
case .proRes422HQ: return .proRes422HQ
case .proRes422LT: return .proRes422LT
case .proRes422Proxy: return .proRes422Proxy
case .proRes4444XQ: return AVVideoCodecType(rawValue: "ap4x")
#endif
case .hevcWithAlpha: return .hevcWithAlpha
default: return nil
Expand Down

0 comments on commit c9a1756

Please sign in to comment.