From: Jaroslav Kysela Date: Tue, 15 Mar 2016 07:55:34 +0000 (+0100) Subject: inputs (linuxdvb, satip, tvhdhomerun): fix config save X-Git-Tag: v4.2.1~866 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2fba6e4a4ebad0d9b038397de15d9b12cd32675;p=thirdparty%2Ftvheadend.git inputs (linuxdvb, satip, tvhdhomerun): fix config save --- diff --git a/src/input/mpegts/linuxdvb/linuxdvb_adapter.c b/src/input/mpegts/linuxdvb/linuxdvb_adapter.c index c64840ef8..8a4808a50 100644 --- a/src/input/mpegts/linuxdvb/linuxdvb_adapter.c +++ b/src/input/mpegts/linuxdvb/linuxdvb_adapter.c @@ -499,7 +499,7 @@ linuxdvb_adapter_del ( const char *path ) } if (!th) return; - idnode_save_check(&la->th_id, 1); + idnode_save_check(&la->th_id, 0); /* Delete the frontends */ for (lfe = LIST_FIRST(&la->la_frontends); lfe != NULL; lfe = next) { diff --git a/src/input/mpegts/satip/satip.c b/src/input/mpegts/satip/satip.c index b80aff6bc..f1fa49559 100644 --- a/src/input/mpegts/satip/satip.c +++ b/src/input/mpegts/satip/satip.c @@ -726,7 +726,7 @@ satip_device_destroy( satip_device_t *sd ) mtimer_disarm(&sd->sd_destroy_timer); - idnode_save_check(&sd->th_id, 1); + idnode_save_check(&sd->th_id, 0); while ((lfe = TAILQ_FIRST(&sd->sd_frontends)) != NULL) satip_frontend_delete(lfe); diff --git a/src/input/mpegts/tvhdhomerun/tvhdhomerun.c b/src/input/mpegts/tvhdhomerun/tvhdhomerun.c index 54ef35c3e..153e2ecbf 100644 --- a/src/input/mpegts/tvhdhomerun/tvhdhomerun.c +++ b/src/input/mpegts/tvhdhomerun/tvhdhomerun.c @@ -441,7 +441,7 @@ tvhdhomerun_device_destroy( tvhdhomerun_device_t *hd ) mtimer_disarm(&hd->hd_destroy_timer); - idnode_save_check(&hd->th_id, 1); + idnode_save_check(&hd->th_id, 0); tvhlog(LOG_INFO, "tvhdhomerun", "Releasing locks for devices"); while ((lfe = TAILQ_FIRST(&hd->hd_frontends)) != NULL) {