Blender Git Loki

Git Commits -> Revision d3c45e1

Revision d3c45e1 by Richard Antalik (master)
November 15, 2021, 19:20 (GMT)
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

Commit Details:

Full Hash: d3c45e1c391eaafd9c54dba5b574b1a7ee23c82a
Parent Commit: ef8240e
Lines Changed: +27, -27

1 Modified Path:

/source/blender/imbuf/intern/anim_movie.c (+27, -27) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021