diff options
author | James Almer <jamrial@gmail.com> | 2022-08-21 13:08:04 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-08-24 10:43:03 -0300 |
commit | db2d52e1ff74c89ee5b3da3c969e39a7135a17bf (patch) | |
tree | 1427d560eb00633dafe95b671664dea490c8f507 /libavformat/rtmppkt.c | |
parent | f28cb0c1a8d45bf64953da6331ae4645a0c5d75d (diff) | |
download | ffmpeg-db2d52e1ff74c89ee5b3da3c969e39a7135a17bf.tar.gz |
avcodec/libvpx: fix assembling vp9 packets with alpha channel
There's no warranty that vpx_codec_encode() will generate a list with the same
amount of packets for both the yuv planes encoder and the alpha plane encoder,
so queueing packets based on what the main encoder returns will fail when the
amount of packets in both lists differ.
Queue all data packets for every vpx_codec_encode() call from both encoders
before attempting to assemble output AVPackets out of them.
Fixes ticket #9884
Reviewed-by: Vignesh Venkatasubramanian <vigneshv@google.com>
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit 9c7a8a8546e0bea9a32174cb40cefda5ddc45001)
Diffstat (limited to 'libavformat/rtmppkt.c')
0 files changed, 0 insertions, 0 deletions