use CZapit class

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1651 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
focus
2011-09-01 12:29:05 +00:00
parent 0087dbc950
commit 0422f2b43d

View File

@@ -59,6 +59,7 @@
#include <zapit/satconfig.h>
#include <zapit/frontend_c.h>
#include <zapit/zapit.h>
#include <video.h>
extern cVideo * videoDecoder;
@@ -276,7 +277,7 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
} else if(manual)
success = g_Zapit->scan_TP(TP);
else if(fast) {
success = !start_fast_scan(scansettings.fast_type, scansettings.fast_op);
success = CZapit::getInstance()->StartFastScan(scansettings.fast_type, scansettings.fast_op);
}
else
success = g_Zapit->startScan(scan_mode);
@@ -316,6 +317,8 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
while (!(msg == CRCInput::RC_timeout));
showSNR(); // FIXME commented until scan slowdown will be solved
}
/* to join scan thread */
g_Zapit->stopScan();
if(!manual) {
if (system(NEUTRINO_SCAN_STOP_SCRIPT) != 0)