service_mapper: store config to ensure options are processed

At the moment the configuration is global so starting another mapping will
override existing config.
This commit is contained in:
Adam Sutton 2014-01-04 21:09:30 +00:00
parent 2d1bd1a254
commit 1707402a97

View 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) {