Blender Git Commit Log

Git Commits -> Revision 847002e

Revision 847002e by Richard Antalik (master)
March 26, 2021, 11:43 (GMT)
FFMPEG: refactor seeking

Split seeking section of `ffmpeg_fetchibuf()` function into multiple
smaller functions.

Conditional statements are moved to own funtions with human readable
names, so code flow is more clear.

To remove one branch of seeking, first frame is now decoded by
scanning, which will do only one iteration. So nothing has technically
changed.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D10638

Commit Details:

Full Hash: 847002e1f88b6f4906ce039b3cd69570664052d5
Parent Commit: 43455f3
Lines Changed: +185, -148

1 Modified Path:

/source/blender/imbuf/intern/anim_movie.c (+185, -148) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021