mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
zapit/src/getservices.cpp: read channel number from xml, not used yet
Origin commit data
------------------
Commit: 25f1eb3532
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-03-16 (Fri, 16 Mar 2012)
This commit is contained in:
@@ -322,6 +322,7 @@ void CServiceManager::ParseChannels(xmlNodePtr node, const t_transport_stream_id
|
|||||||
std::string name;
|
std::string name;
|
||||||
uint8_t service_type;
|
uint8_t service_type;
|
||||||
unsigned short vpid, apid, pcrpid, pmtpid, txpid, vtype, scrambled;
|
unsigned short vpid, apid, pcrpid, pmtpid, txpid, vtype, scrambled;
|
||||||
|
int number;
|
||||||
std::string desc = "";
|
std::string desc = "";
|
||||||
desc += "Preset";
|
desc += "Preset";
|
||||||
t_channel_id chid;
|
t_channel_id chid;
|
||||||
@@ -344,6 +345,7 @@ void CServiceManager::ParseChannels(xmlNodePtr node, const t_transport_stream_id
|
|||||||
txpid = xmlGetNumericAttribute(node, "tx", 16);
|
txpid = xmlGetNumericAttribute(node, "tx", 16);
|
||||||
vtype = xmlGetNumericAttribute(node, "vt", 16);
|
vtype = xmlGetNumericAttribute(node, "vt", 16);
|
||||||
scrambled = xmlGetNumericAttribute(node, "s", 16);
|
scrambled = xmlGetNumericAttribute(node, "s", 16);
|
||||||
|
number = xmlGetNumericAttribute(node, "num", 10);
|
||||||
|
|
||||||
chid = CREATE_CHANNEL_ID64;
|
chid = CREATE_CHANNEL_ID64;
|
||||||
char *ptr = xmlGetAttribute(node, "action");
|
char *ptr = xmlGetAttribute(node, "action");
|
||||||
|
Reference in New Issue
Block a user