fix kabelbw workaround
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Tue, 22 Jul 2008 09:52:42 +0000 (09:52 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Tue, 22 Jul 2008 09:52:42 +0000 (09:52 +0000)
lib/dvb/scan.cpp

index 109d239..8d412ce 100644 (file)
@@ -167,8 +167,11 @@ RESULT eDVBScan::startFilter()
                                }
                        }
                }
-               if (tsid == -1 && m_SDT->start(m_demux, eDVBSDTSpec()))
-                       return -1;
+               if (tsid == -1)
+               {
+                       if (m_SDT->start(m_demux, eDVBSDTSpec()))
+                               return -1;
+               }
                else if (m_SDT->start(m_demux, eDVBSDTSpec(tsid, true)))
                        return -1;
                CONNECT(m_SDT->tableReady, eDVBScan::SDTready);