This avoids missing frames when reading with RTSP and the original stream has NALU groups with multiple IDRs in it.