Skip to content

Commit

Permalink
fix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
kingslay committed Jan 15, 2024
1 parent b3c44d7 commit 3558c76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/KSPlayer/AVPlayer/KSOptions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,9 @@ open class KSOptions {
}
}

private var idetTypeMap = [VideoInterlacingType: Int]()
private var idetTypeMap = [VideoInterlacingType: UInt]()
open func filter(log: String) {
if log.starts(with: "Repeated Field:") {
if log.starts(with: "Repeated Field:"), autoDeInterlace {
for str in log.split(separator: ",") {
let map = str.split(separator: ":")
if map.count >= 2 {
Expand Down

0 comments on commit 3558c76

Please sign in to comment.