From 73ad6cd905f142335e838ddbf6200d63fb181e0e Mon Sep 17 00:00:00 2001 From: Mikhail Burakov Date: Sat, 25 Mar 2023 08:12:36 +0100 Subject: Fix time measurements in decoding --- decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decode.c b/decode.c index 618f994..5df0806 100644 --- a/decode.c +++ b/decode.c @@ -408,7 +408,7 @@ static void HandleTimingStats(struct DecodeContext* decode_context) { decode_context->frame_decoded_ts - decode_context->frame_received_ts); TimingStatsRecord( &decode_context->total, - decode_context->frame_received_ts - decode_context->frame_header_ts); + decode_context->frame_decoded_ts - decode_context->frame_header_ts); unsigned long long period = decode_context->frame_decoded_ts - decode_context->recording_started; -- cgit v1.2.3