Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
avcodec: vaapi_decode, do not set initial_pool_size if driver support…
…s frame pool resizing Two benifites of this commit: 1. Save memory. If we play an 8k hevc, previous code we allocate 50M * 20(1 + 16 + 3) = 1G memory.16 is a waste for most playback cases. 2. Allow downstream cache more frames. A downstream lookahead encoder will cache some frames. 20 may not enough for it. This commit will fix the following command ffmpeg -hwaccel vaapi -hwaccel_output_format vaapi -i 100frames.264 -vf reverse -an -f null -
- Loading branch information