From 453ee8dfd80b240e1005502c002bdc6de3f121c8 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Wed, 20 Mar 2019 14:47:02 +0100 Subject: [PATCH] linuxdvb: use the right configuration root for the slave tuners (loading), issue #5128 --- src/input/mpegts/linuxdvb/linuxdvb_frontend.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/input/mpegts/linuxdvb/linuxdvb_frontend.c b/src/input/mpegts/linuxdvb/linuxdvb_frontend.c index a7c38b516..3d589966b 100644 --- a/src/input/mpegts/linuxdvb/linuxdvb_frontend.c +++ b/src/input/mpegts/linuxdvb/linuxdvb_frontend.c @@ -2115,7 +2115,7 @@ linuxdvb_frontend_create const char *str, *uuid = NULL, *muuid = NULL; char id[16], lname[256], buf[256]; linuxdvb_frontend_t *lfe; - htsmsg_t *scconf; + htsmsg_t *oconf = conf, *scconf; ssize_t r; int fd; @@ -2129,7 +2129,8 @@ linuxdvb_frontend_create /* Tuner slave */ snprintf(buf, sizeof(buf), "master for #%d", number); if (conf && type == DVB_TYPE_S) { - muuid = htsmsg_get_str(conf, buf); + /* use the original configuration here */ + muuid = htsmsg_get_str(oconf, buf); if (muuid && uuid && !strcmp(muuid, uuid)) muuid = NULL; } -- 2.47.2