Blender Git Loki

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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021