Blender Git Commit Log

Git Commits -> Revision 7616f4a

June 30, 2021, 07:40 (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: 7616f4ae57735a66720d440f42c476a256d02350
Parent Commit: a68f545
Committed By: Jeroen Bakker
Lines Changed: +100, -44

4 Modified Paths:

/intern/ffmpeg/ffmpeg_compat.h (+15, -12) (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