]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
inputs (linuxdvb, satip, tvhdhomerun): fix config save
authorJaroslav Kysela <perex@perex.cz>
Tue, 15 Mar 2016 07:55:34 +0000 (08:55 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 15 Mar 2016 07:55:34 +0000 (08:55 +0100)
src/input/mpegts/linuxdvb/linuxdvb_adapter.c
src/input/mpegts/satip/satip.c
src/input/mpegts/tvhdhomerun/tvhdhomerun.c

index c64840ef875dd60c343004f1b80ac3e5f40ee3f9..8a4808a50cc47647dc179846139bac44a12cfd06 100644 (file)
@@ -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) {
index b80aff6bca8bf3965643bbc12126254f6ebfc9ac..f1fa49559a9099ae3f8b1f6ed3fe50adabdf7cd8 100644 (file)
@@ -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);
index 54ef35c3e1a109fbfe4cc332c0bd9210352fc32c..153e2ecbf9af86d97d13202b881c01d84a8cddbc 100644 (file)
@@ -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) {