fast scan: fix params (pointer to local variable passed)

Origin commit data
------------------
Branch: ni/coolstream
Commit: 30e4f55a2a
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-10-28 (Sun, 28 Oct 2012)


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

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2012-10-28 11:08:23 +04:00
parent cf8f67936a
commit 87ed83c2cb
3 changed files with 5 additions and 4 deletions

View File

@@ -17,6 +17,7 @@
#include <zapit/channel.h>
#include <zapit/bouquets.h>
#include <zapit/femanager.h>
#include <zapit/fastscan.h>
#define PAL 0
#define NTSC 1
@@ -130,7 +131,9 @@ class CZapit : public OpenThreads::Thread
CZapitChannel * current_channel;
t_channel_id live_channel_id;
/* scan params */
TP_params TP;
fast_scan_type_t scant;
CFrontend * live_fe;

View File

@@ -63,13 +63,13 @@ void CServiceScan::InitFastscanLnb(int id)
switch(id) {
default:
case CD_OPERATOR_ID:
case OPERATOR_TVV:
case TVV_OPERATOR_ID:
satmap[192].diseqc = 0;
satmap[235].diseqc = 1;
satmap[282].diseqc = 2;
satmap[130].diseqc = 3;
break;
case OPERATOR_TELESAT:
case TELESAT_OPERATOR_ID:
satmap[130].diseqc = 0;
satmap[192].diseqc = 1;
satmap[235].diseqc = 2;

View File

@@ -807,8 +807,6 @@ bool CZapit::StartScanTP(TP_params * TPparams)
bool CZapit::StartFastScan(int scan_mode, int opid)
{
fast_scan_type_t scant;
scant.type = scan_mode;
scant.op = (fs_operator_t) opid;