CScanTs: revert to pu/cc code

Origin commit data
------------------
Branch: ni/coolstream
Commit: 2ed1f7eee2
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-04-06 (Sat, 06 Apr 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2013-04-06 16:58:19 +02:00
parent 5c2edbab9a
commit a045a6690c

View File

@@ -198,15 +198,13 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
ypos_radar = y + hheight + (mheight >> 1);
xpos1 = x + 10;
sigscale->reset();
snrscale->reset();
lastsig = lastsnr = -1;
if (!frameBuffer->getActive())
return menu_return::RETURN_EXIT_ALL;
if (!sigscale)
sigscale = new CProgressBar(true, BAR_WIDTH, BAR_HEIGHT);
if (!snrscale)
snrscale = new CProgressBar(true, BAR_WIDTH, BAR_HEIGHT);
lastsig = lastsnr = -1;
CRecordManager::getInstance()->StopAutoRecord();
g_Zapit->stopPlayBack();
@@ -361,10 +359,6 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
}
hide();
delete sigscale;
sigscale = NULL;
delete snrscale;
snrscale = NULL;
CZapit::getInstance()->scanPids(scan_pids);
videoDecoder->StopPicture();