mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
neutrino: remove fastscan option
Origin commit data
------------------
Branch: ni/coolstream
Commit: dae1896fd7
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-01-08 (Sun, 08 Jan 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -76,7 +76,7 @@ CScanTs::CScanTs()
|
||||
}
|
||||
|
||||
extern int scan_fta_flag;//in zapit descriptors definiert
|
||||
extern int start_fast_scan(int scan_mode, int opid);
|
||||
//extern int start_fast_scan(int scan_mode, int opid);
|
||||
#include <zapit/getservices.h>
|
||||
|
||||
void CScanTs::prev_next_TP( bool up)
|
||||
@@ -269,7 +269,7 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
|
||||
} else if(manual)
|
||||
success = g_Zapit->scan_TP(TP);
|
||||
else if(fast) {
|
||||
success = CZapit::getInstance()->StartFastScan(scansettings.fast_type, scansettings.fast_op);
|
||||
// success = CZapit::getInstance()->StartFastScan(scansettings.fast_type, scansettings.fast_op);
|
||||
}
|
||||
else
|
||||
success = g_Zapit->startScan(scan_mode);
|
||||
|
@@ -53,7 +53,9 @@
|
||||
#include <zapit/frontend_c.h>
|
||||
#include <zapit/getservices.h>
|
||||
#include <zapit/satconfig.h>
|
||||
#ifdef ENABLE_FASTSCAN
|
||||
#include <zapit/fastscan.h>
|
||||
#endif
|
||||
#include <zapit/zapit.h>
|
||||
|
||||
extern std::map<transponder_id_t, transponder> select_transponders;
|
||||
|
@@ -41,7 +41,7 @@
|
||||
|
||||
#define scansettings CNeutrinoApp::getInstance()->getScanSettings()
|
||||
|
||||
#define ENABLE_FASTSCAN //don't define this to remove fast scan menu
|
||||
//#define ENABLE_FASTSCAN //don't define this to remove fast scan menu
|
||||
|
||||
class CScanSetup : public CMenuTarget
|
||||
{
|
||||
|
@@ -13,7 +13,7 @@
|
||||
|
||||
#include <zapit/frontend_c.h>
|
||||
#include <zapit/getservices.h>
|
||||
#include <zapit/fastscan.h>
|
||||
//#include <zapit/fastscan.h>
|
||||
#include "bouquets.h"
|
||||
#include <OpenThreads/Thread>
|
||||
|
||||
@@ -25,7 +25,7 @@ class CServiceScan : public OpenThreads::Thread
|
||||
typedef enum scan_type {
|
||||
SCAN_PROVIDER,
|
||||
SCAN_TRANSPONDER,
|
||||
SCAN_FAST
|
||||
// SCAN_FAST
|
||||
} scan_type_t;
|
||||
|
||||
private:
|
||||
@@ -62,7 +62,7 @@ class CServiceScan : public OpenThreads::Thread
|
||||
|
||||
bool ScanTransponder();
|
||||
bool ScanProviders();
|
||||
|
||||
#if 0
|
||||
/* fast scan */
|
||||
std::map <t_channel_id, t_satellite_position> fast_services_sat;
|
||||
std::map <t_channel_id, freq_id_t> fast_services_freq;
|
||||
@@ -75,7 +75,7 @@ class CServiceScan : public OpenThreads::Thread
|
||||
void process_service_list_descriptor(const unsigned char * const buffer, const t_transport_stream_id transport_stream_id, const t_original_network_id original_network_id, t_satellite_position satellitePosition, freq_id_t freq);
|
||||
void process_satellite_delivery_system_descriptor(const unsigned char * const buffer, FrontendParameters * feparams, uint8_t * polarization, t_satellite_position * satellitePosition);
|
||||
bool ScanFast();
|
||||
|
||||
#endif
|
||||
void run();
|
||||
|
||||
static CServiceScan * scan;
|
||||
|
@@ -143,7 +143,7 @@ class CZapit : public OpenThreads::Thread
|
||||
bool PrepareChannels();
|
||||
bool StartScan(int scan_mode);
|
||||
bool StartScanTP(TP_params * TPparams);
|
||||
bool StartFastScan(int scan_mode, int opid);
|
||||
// bool StartFastScan(int scan_mode, int opid);
|
||||
|
||||
void addChannelToBouquet(const unsigned int bouquet, const t_channel_id channel_id);
|
||||
void SetConfig(Zapit_config * Cfg);
|
||||
|
@@ -21,7 +21,8 @@ noinst_LIBRARIES = libzapit.a
|
||||
libzapit_a_SOURCES = \
|
||||
bouquets.cpp channel.cpp dvbstring.cpp getservices.cpp \
|
||||
scan.cpp zapit.cpp cam.cpp ci.cpp frontend.cpp \
|
||||
descriptors.cpp nit.cpp pat.cpp pmt.cpp sdt.cpp fastscan.cpp
|
||||
descriptors.cpp nit.cpp pat.cpp pmt.cpp sdt.cpp
|
||||
# fastscan.cpp
|
||||
|
||||
bin_PROGRAMS = pzapit
|
||||
sbin_PROGRAMS = udpstreampes
|
||||
|
@@ -118,9 +118,11 @@ void CServiceScan::run()
|
||||
case SCAN_TRANSPONDER:
|
||||
ScanTransponder();
|
||||
break;
|
||||
#if 0
|
||||
case SCAN_FAST:
|
||||
ScanFast();
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@@ -43,7 +43,7 @@
|
||||
#include <zapit/pat.h>
|
||||
#include <zapit/pmt.h>
|
||||
#include <zapit/scan.h>
|
||||
#include <zapit/fastscan.h>
|
||||
//#include <zapit/fastscan.h>
|
||||
#include <zapit/settings.h>
|
||||
#include <zapit/zapit.h>
|
||||
#include <xmlinterface.h>
|
||||
@@ -709,6 +709,7 @@ bool CZapit::StartScanTP(TP_params * TPparams)
|
||||
return true;
|
||||
}
|
||||
|
||||
#if 0
|
||||
bool CZapit::StartFastScan(int scan_mode, int opid)
|
||||
{
|
||||
fast_scan_type_t scant;
|
||||
@@ -721,6 +722,7 @@ bool CZapit::StartFastScan(int scan_mode, int opid)
|
||||
CServiceScan::getInstance()->Start(CServiceScan::SCAN_FAST, (void *) &scant);
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
bool CZapit::ParseCommand(CBasicMessage::Header &rmsg, int connfd)
|
||||
{
|
||||
|
Reference in New Issue
Block a user