diff options
author | Haihao Xiang <haihao.xiang@intel.com> | 2024-03-26 15:19:13 +0800 |
---|---|---|
committer | Haihao Xiang <haihao.xiang@intel.com> | 2024-04-18 14:43:07 +0800 |
commit | 41e3d36a39979a5c6ca36198b03be740e14ef7b0 (patch) | |
tree | 968ec23fc2e2c7ecfa7ba19196628dc7f3eeb29f /libavformat/filmstripdec.c | |
parent | 1abba59738d99be72dee4a70c3ee2e2c724031b9 (diff) | |
download | ffmpeg-41e3d36a39979a5c6ca36198b03be740e14ef7b0.tar.gz |
lavc/vaapi_decode: Use dynamic frame pool if possible
libva2 doesn't require a fixed surface-array any more, so we may use
dynamic frame pool for decoding when libva2 is available, which allows a
downstream element stores more frames from VAAPI decoders and fixes the
error below:
$ ffmpeg -hwaccel vaapi -hwaccel_output_format vaapi \
-i input.mp4 -c:v hevc_vaapi -f null -
...
[h264 @ 0x557a075a1400] get_buffer() failed
[h264 @ 0x557a075a1400] thread_get_buffer() failed
[h264 @ 0x557a075a1400] decode_slice_header error
[h264 @ 0x557a075a1400] no frame!
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Diffstat (limited to 'libavformat/filmstripdec.c')
0 files changed, 0 insertions, 0 deletions