From bb2139e3dca944aadeaa22e3bca29be493909c65 Mon Sep 17 00:00:00 2001 From: Donat Zenichev Date: Tue, 19 May 2026 16:54:56 +0200 Subject: [PATCH] MT#61856 main: properly log failure in `do_transcode_config()` When failing to read the transcode config for the destiantion codec, log accordingly the destination codec, not the source one. Change-Id: I1211cde6e1d055169e809e8a49c6f88b0028e3ec --- daemon/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/main.c b/daemon/main.c index 988010482..b5cf9da8c 100644 --- a/daemon/main.c +++ b/daemon/main.c @@ -499,7 +499,7 @@ static void do_transcode_config(const char *name, charp_ht ht, struct transcode_ if (!codec_parse_payload_type(&tc->i.src, STR_PTR(tc->src))) die("Failed to parse source codec '%s' in transcode config '%s'", src, name); if (!codec_parse_payload_type(&tc->i.dst, STR_PTR(tc->dst))) - die("Failed to parse source codec '%s' in transcode config '%s'", src, name); + die("Failed to parse destination codec '%s' in transcode config '%s'", dst, name); char *tfm = t_hash_table_lookup(ht, "transform"); char *pref_s = t_hash_table_lookup(ht, "preference");