fixed a small bug from the previous commit about adding nbr_frames
Authored by: dororoma 2024-07-16
Parent: [r1337]
Child: [r1339]