mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
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:
@@ -198,15 +198,13 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
|
|||||||
ypos_radar = y + hheight + (mheight >> 1);
|
ypos_radar = y + hheight + (mheight >> 1);
|
||||||
xpos1 = x + 10;
|
xpos1 = x + 10;
|
||||||
|
|
||||||
|
sigscale->reset();
|
||||||
|
snrscale->reset();
|
||||||
|
lastsig = lastsnr = -1;
|
||||||
|
|
||||||
if (!frameBuffer->getActive())
|
if (!frameBuffer->getActive())
|
||||||
return menu_return::RETURN_EXIT_ALL;
|
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();
|
CRecordManager::getInstance()->StopAutoRecord();
|
||||||
g_Zapit->stopPlayBack();
|
g_Zapit->stopPlayBack();
|
||||||
|
|
||||||
@@ -361,10 +359,6 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
|
|||||||
}
|
}
|
||||||
|
|
||||||
hide();
|
hide();
|
||||||
delete sigscale;
|
|
||||||
sigscale = NULL;
|
|
||||||
delete snrscale;
|
|
||||||
snrscale = NULL;
|
|
||||||
|
|
||||||
CZapit::getInstance()->scanPids(scan_pids);
|
CZapit::getInstance()->scanPids(scan_pids);
|
||||||
videoDecoder->StopPicture();
|
videoDecoder->StopPicture();
|
||||||
|
Reference in New Issue
Block a user