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
This commit is contained in:
Harald Welte 2022-04-19 14:57:20 +02:00
parent b22bcd2059
commit 0d67df2307
1 changed files with 1 additions and 1 deletions

View File

@ -127,5 +127,5 @@ void octoi_peer_e1t_out(struct octoi_peer *peer, uint8_t *buf, int fts)
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));
}