laforge submitted this change.
octoi: Update RIFO depth also on dequeue
We updated the RIFO depth on every enqueue, let's also do so on dequeue.
Otherwise the figure might be wrong in case of no further received input
frames.
Change-Id: I175f0503e7435c362f35bd8083b785197d9d7338
---
M src/octoi/octoi.c
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/octoi/octoi.c b/src/octoi/octoi.c
index 3137b75..d2960ac 100644
--- a/src/octoi/octoi.c
+++ b/src/octoi/octoi.c
@@ -127,5 +127,5 @@
memcpy(cur, iline->e1t.last_frame, BYTES_PER_FRAME);
}
}
- //iline_stat_set(iline, LINE_STAT_E1oIP_E1T_FIFO, frame_fifo_frames(&iline->e1t.fifo));
+ iline_stat_set(iline, LINE_STAT_E1oIP_E1T_FIFO, frame_rifo_depth(&iline->e1t.rifo));
}
To view, visit change 27827. To unsubscribe, or for help writing mail filters, visit settings.