Compare commits
No commits in common. "mistress" and "convert-go" have entirely different histories.
mistress
...
convert-go
1 changed files with 4 additions and 4 deletions
8
video.go
8
video.go
|
|
@ -198,14 +198,14 @@ func getFrameSkipSeconds(totalSeconds int) int {
|
||||||
case totalSeconds <= 60:
|
case totalSeconds <= 60:
|
||||||
return 5
|
return 5
|
||||||
case totalSeconds <= 120:
|
case totalSeconds <= 120:
|
||||||
return 7
|
|
||||||
case totalSeconds <= 300:
|
|
||||||
return 10
|
return 10
|
||||||
|
case totalSeconds <= 300:
|
||||||
|
return 12
|
||||||
case totalSeconds <= 1000:
|
case totalSeconds <= 1000:
|
||||||
return 15
|
return 15
|
||||||
case totalSeconds <= 1200:
|
case totalSeconds <= 1200:
|
||||||
return 20
|
return 40
|
||||||
default:
|
default:
|
||||||
return 26
|
return 60
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue