Revert "check sid and tsid before start automatic service update (STD update)"
[enigma2.git] / lib / dvb / pmt.cpp
index 13734e0..6082bf4 100644 (file)
@@ -135,19 +135,7 @@ void eDVBServicePMTHandler::PATready(int)
                if (pmtpid == -1)
                        serviceEvent(eventNoPATEntry);
                else
-               { // here we know a pat entry for this service id exist
                        m_PMT.begin(eApp, eDVBPMTSpec(pmtpid, m_reference.getServiceID().get()), m_demux);
-                       if (m_reference.path.empty())
-                       { // also check the tsid now before start sdt update
-                               eDVBChannelID chid;
-                               m_reference.getChannelID(chid);
-                               if (eTransportStreamID((*i)->getTableIdExtension()) == chid.transport_stream_id)
-                               {
-                                       m_dvb_scan = new eDVBScan(m_channel, true, false);
-                                       m_dvb_scan->connectEvent(slot(*this, &eDVBServicePMTHandler::SDTScanEvent), m_scan_event_connection);
-                               }
-                       }
-               }
        } else
                serviceEvent(eventNoPAT);
 }
@@ -616,7 +604,10 @@ int eDVBServicePMTHandler::tune(eServiceReferenceDVB &ref, int use_decode_demux,
                                m_channelEvent_connection);
 
                        if (ref.path.empty())
-                               m_dvb_scan = 0;
+                       {
+                               m_dvb_scan = new eDVBScan(m_channel, true, false);
+                               m_dvb_scan->connectEvent(slot(*this, &eDVBServicePMTHandler::SDTScanEvent), m_scan_event_connection);
+                       }
                } else
                {
                        if (res == eDVBResourceManager::errAllSourcesBusy)