diff options
author | Richard Antalik <richardantalik@gmail.com> | 2021-03-02 14:13:21 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2021-03-02 14:23:04 +0300 |
commit | 88604b79b7d15f8aa86fbd2d23d58541aa927313 (patch) | |
tree | cdfe8e86e893f0d49f1eb72cd58a00c29fb1221a /source/blender/sequencer | |
parent | bbb1936411a5f98f5a49ed0d63bcf1a547cbdb59 (diff) |
FFmpeg: Improve scrubbing performance
Applying negative offset to seek position before scanning doesnn't have
any effect. This change results in 1.5x faster seeking (random frame,
average value) in sample file with 30 frame GOP length.
If I am not mistaken, B frames can have pts that can be less than
pts of I frame that must be decoded. Even in this case though, B frame
packet will be stored after that I frame.
In addition, preseek value is de facto hardcoded so seeking would fail
if it could. This can be hard to spot though.
Reviewed By: sergey
Differential Revision: https://developer.blender.org/D10529
Diffstat (limited to 'source/blender/sequencer')
0 files changed, 0 insertions, 0 deletions