]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
service_mapper: store config to ensure options are processed
authorAdam Sutton <dev@adamsutton.me.uk>
Sat, 4 Jan 2014 21:09:30 +0000 (21:09 +0000)
committerAdam Sutton <dev@adamsutton.me.uk>
Sat, 4 Jan 2014 21:09:30 +0000 (21:09 +0000)
At the moment the configuration is global so starting another mapping will
override existing config.

src/service_mapper.c

index 3f007a9d9acb7bfb4e07769343e2d311d2982c30..b35fc7677025c06b08796fad8aa921bb055b5889 100644 (file)
@@ -71,6 +71,9 @@ service_mapper_start ( const service_mapper_conf_t *conf, htsmsg_t *uuids )
   int e, tr, qd = 0;
   service_t *s;
 
+  /* Store config */
+  service_mapper_conf = *conf;
+
   /* Check each service */
   TAILQ_FOREACH(s, &service_all, s_all_link) {
     if (uuids) {