Add is_valid_frame logic

This commit is contained in:
2020-05-15 15:31:47 +02:00
parent aff1d22c17
commit 6c1f7421f1
3 changed files with 3 additions and 6 deletions
+1
View File
@@ -88,6 +88,7 @@ bool ReplayH5Reader::get_frame(
if (metadata->pulse_id == 0) {
// Signal that there is no frame at this pulse_id.
metadata->pulse_id = pulse_id;
return false;
}else if (metadata->pulse_id != pulse_id) {