refactor(ffmpeg): process on select frame

* refactor(ffmpeg): process on select frame

* reset golden

* test: update golden files
This commit is contained in:
Adrian Shum 2022-10-13 18:26:14 +08:00 committed by GitHub
parent 4fe4a1561a
commit da15744b3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 11 additions and 11 deletions

View file

@ -97,6 +97,9 @@ func (av *AVContext) SelectFrame(n int) (err error) {
nn = av.thumbContext.n - 1
}
av.selectedIndex = nn
if err = av.ProcessFrames(-1); err != nil {
return
}
return nil
}