aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/assenc.c
diff options
context:
space:
mode:
authorBenjamin Cheng <ben@bcheng.me>2023-09-30 12:57:29 -0400
committerLynne <dev@lynne.ee>2023-10-05 23:50:26 +0200
commit2a36e44af38c95a95a68aa93345d96f9c5c0bdf5 (patch)
treeb1cd47293a20e20feb04eaf513a6450b266f8480 /libavcodec/assenc.c
parente8465aa5dda03b4f30d24f192ee165f88a912762 (diff)
downloadffmpeg-2a36e44af38c95a95a68aa93345d96f9c5c0bdf5.tar.gz
vulkan_hevc: handle non-contiguous SPS/PPS/VPS ids
Some clips (i.e. SLIST_B_Sony_9) will use PPS 0 and 8, before PPS 1-7. vulkan_hevc expects {sps,pps,vps}_list to be filled in order, which causes PPS 8 to not be added to the Vulkan session params when it is being used by a picture. This removes the expectation that these lists are filled in order. The indicies into vps_list are saved since there are multiple usages of it. This also fixes a bug with some clips (i.e. PPS_A_qualcomm_7) which use all 64 available PPS slots, causing the old loop to think there are more than 64 PPS-es.
Diffstat (limited to 'libavcodec/assenc.c')
0 files changed, 0 insertions, 0 deletions