]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
capmt: fix capmt for multi-frontend adapters 3.4beta5
authorBtbN <btbn@btbn.de>
Sat, 6 Apr 2013 03:14:51 +0000 (05:14 +0200)
committerAdam Sutton <dev@adamsutton.me.uk>
Sat, 6 Apr 2013 20:08:08 +0000 (21:08 +0100)
(cherry picked from commit 63b35164bdf03ae6d1296b3e5d7c16281165e0ca)

src/capmt.c

index 9e12e86966c9a85dbc08e3df9adaa37ae582375f..341abce59fd58593f9f59183fa40169b472b72a3 100644 (file)
@@ -620,6 +620,8 @@ capmt_thread(void *aux)
 #if ENABLE_LINUXDVB
         th_dvb_adapter_t *tda;
         TAILQ_FOREACH(tda, &dvb_adapters, tda_global_link) {
+          if (!tda->tda_enabled)
+            continue;
           if (tda->tda_rootpath) {          //if rootpath is NULL then can't rely on tda_adapter_num because it is always 0
             if (tda->tda_adapter_num > MAX_CA) {
               tvhlog(LOG_ERR, "capmt", "adapter number > MAX_CA");