fix(ffmpeg): 0s frame handling
This commit is contained in:
parent
77554f272f
commit
9ccfbe5a08
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ func (av *AVContext) SelectDuration(ts time.Duration) (err error) {
|
||||||
}
|
}
|
||||||
return av.ProcessFrames(-1)
|
return av.ProcessFrames(-1)
|
||||||
} else {
|
} else {
|
||||||
return av.ProcessFrames(1)
|
return av.SelectFrame(1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue