Blender Git Commit Log

Git Commits -> Revision 4adbe31

Revision 4adbe31 by Sebastian Parborg (master)
June 11, 2021, 12:04 (GMT)
Fix: VSE indexer seeking not working correctly

Because of the added sanity checks in rB14508ef100c9 (D11492), seeking
in proxies would not work correctly any more. This is because it wasn't
working as intended before, but in most cases this wouldn't be
noticeable. However now when the sanity checks are tripped it is very
noticeable that something is wrong

The indexer tried to use dts values for time stamps when we used pts in
our decode functions to get the time positions. This would make it
start in the wrong GOP frames when searching. Now that we enforce no
crossing of GOP frames when decoding after seek, this would lead to
issues.

Now we correctly use pts (or dts if pts is not available) and thus we
don't have any seeking issues because of time stamp format missmatch.

Reviewed By: Richard Antalik

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

Commit Details:

Full Hash: 4adbe31e2fc98f982aed3d97505513750ec348d4
Parent Commit: 1fb2eaf
Lines Changed: +96, -42

4 Modified Paths:

/intern/ffmpeg/ffmpeg_compat.h (+11, -10) (Diff)
/source/blender/imbuf/intern/anim_movie.c (+22, -10) (Diff)
/source/blender/imbuf/intern/IMB_indexer.h (+9, -2) (Diff)
/source/blender/imbuf/intern/indexer.c (+54, -20) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021