diff options
author | David Lemler <david@lemler.family> | 2023-07-07 16:31:03 -0500 |
---|---|---|
committer | James Zern <jzern@google.com> | 2023-07-14 09:55:58 -0700 |
commit | 357a8632999e3a944392d557927bb5e568acbc7d (patch) | |
tree | 65df7de61152d5cc76193524e0c0022d39736c10 /libswresample/swresample.h | |
parent | 374184a4dc16421ec6b182191898582d9275808a (diff) | |
download | ffmpeg-357a8632999e3a944392d557927bb5e568acbc7d.tar.gz |
lavc/libvpxenc: prevent fifo from filling up
Prevent the fifo used in encoding VPx videos from filling up and
stopping encode when it reaches 21845 items, which happens when the
video has more than that number of frames.
Incorporated suggestion from James Zern to prevent calling
frame_data_submit() at all when performing the first pass of a 2-pass
encode so the fifo is not filled at all; replaces original patch which
drained the fifo after filling to prevent it from becoming full.
Fixes the regression originally introduced in
5bda4ec6c3cb6f286bb40dee4457c3c26e0f78cb
Co-authored-by: James Zern <jzern@google.com>
Signed-off-by: David Lemler <david@lemler.family>
Signed-off-by: James Zern <jzern@google.com>
Diffstat (limited to 'libswresample/swresample.h')
0 files changed, 0 insertions, 0 deletions