From 78b6d5167f28c46e486a5f13390e91c9b15a4cfa Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Fri, 7 May 2021 09:21:06 -0400 Subject: [PATCH] TT#14008 rate limit log line about missing output context closes #1259 Change-Id: I0777647a8f6974fca845b4c35591bc7539f4891b (cherry picked from commit 2057d0a3672139f5ab111c4b33f8337c51cc8378) --- daemon/codec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daemon/codec.c b/daemon/codec.c index 64e1e37fe..52848afaf 100644 --- a/daemon/codec.c +++ b/daemon/codec.c @@ -1954,7 +1954,8 @@ static struct codec_ssrc_handler *__output_ssrc_handler(struct codec_ssrc_handle handler = handler->output_handler; struct codec_ssrc_handler *new_ch = get_ssrc(mp->ssrc_in->parent->h.ssrc, handler->ssrc_hash); if (G_UNLIKELY(!new_ch)) { - ilogs(transcoding, LOG_ERR, "Switched from input to output codec context, but no codec handler present"); + ilogs(transcoding, LOG_ERR | LOG_FLAG_LIMIT, + "Switched from input to output codec context, but no codec handler present"); obj_get(&ch->h); return ch; }