Blender Git Loki

Git Commits -> Revision 837cfd4

Revision 837cfd4 by Sebastian Parborg (soc-2021-curves)
June 21, 2021, 14:31 (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: 837cfd40dd9e150283db0e03e36a346699ea714f
Parent Commit: c8d33e3
Committed By: Dilith Jayakody
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021