diff options
author | Richard Antalik <richardantalik@gmail.com> | 2021-11-15 22:20:33 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2021-11-15 22:20:33 +0300 |
commit | d3c45e1c391eaafd9c54dba5b574b1a7ee23c82a (patch) | |
tree | 874cea7188bd56ccddcb59151d5d46e29f469b77 /source/blender/sequencer | |
parent | ef8240e64c9f7805ef65d9f7599bfb3eca97566c (diff) |
Fix T91405: Block artefacts in WEBM video
Issue was caused by incorrect FFmpeg asynchronous decoding API. In most
cases, decoder returns 1 frame each time it is fed by 1 packet. Here
decoder wanted to return more frames, but our code always expected only
one.
Before sending new packets to decoder, check if there are frames to
receive. If there are, process them, otherwise continue decoding as
usual.
Reviewed By: zeddb, sergey
Differential Revision: https://developer.blender.org/D13079
Diffstat (limited to 'source/blender/sequencer')
0 files changed, 0 insertions, 0 deletions