Skip to content

Commit 2531cff

Browse files
committed
audio postprocess: fix inv condition
audio decoder stats were not print since the commit 29bdafd Signed-off-by: Martin Pulec <martin.pulec@cesnet.cz>
1 parent 966916e commit 2531cff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/audio/postprocess.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ decode_audio_frame_postprocess(struct state_audio_postprocess *postprocess,
450450
}
451451

452452
time_ns_t t = get_time_in_ns();
453-
if ((postprocess->t0 - t) > SEC_TO_NS(5)) {
453+
if ((t - postprocess->t0) > SEC_TO_NS(5)) {
454454
struct adec_stats_processing_data *d = calloc(1, sizeof *d);
455455
d->frame = audio_frame2_alloc(
456456
audio_frame2_get_channel_count(decompressed), AC_PCM,

0 commit comments

Comments
 (0)