vk-video-ffi H.264 decode: create the session with the driver's DPB slot and active reference maxima
Browse files at this commit08bc65c142498a4b8d046032b66b3d42a3abf65dParent: 8af23f01 changed file +2 -2
shims/vk-video-ffi/src/h264_decode.rsmodified+2 -2
| @@ -268,8 +268,8 @@ impl H264DecodeSession { | ||
| 268 | 268 | &profile.info, |
| 269 | 269 | &caps.std_header_version, |
| 270 | 270 | max_extent, |
| 271 | - cfg.max_dpb_slots, | |
| 272 | - max_active, | |
| 271 | + caps.max_dpb_slots, | |
| 272 | + caps.max_active_refs, | |
| 273 | 273 | )?; |
| 274 | 274 | let dec = Decoder::new( |
| 275 | 275 | vs, |