mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-31 20:24:27 -04:00
fixup! Fix missing last segment
This commit is contained in:
parent
c635fc00c3
commit
345eabafb2
@ -137,7 +137,8 @@ func (ts *Stream) run(start int32) error {
|
|||||||
"-i", ts.file.Path,
|
"-i", ts.file.Path,
|
||||||
"-copyts",
|
"-copyts",
|
||||||
}
|
}
|
||||||
if end != int32(len(ts.file.Keyframes)-1) {
|
// do not include -to if we want the file to go to the end
|
||||||
|
if end != int32(len(ts.file.Keyframes)) {
|
||||||
args = append(args,
|
args = append(args,
|
||||||
"-to", fmt.Sprintf("%.6f", ts.file.Keyframes[end]),
|
"-to", fmt.Sprintf("%.6f", ts.file.Keyframes[end]),
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user