mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +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;
|
||||
uint8_t service_type;
|
||||
unsigned short vpid, apid, pcrpid, pmtpid, txpid, vtype, scrambled;
|
||||
int number;
|
||||
std::string desc = "";
|
||||
desc += "Preset";
|
||||
t_channel_id chid;
|
||||
@@ -344,6 +345,7 @@ void CServiceManager::ParseChannels(xmlNodePtr node, const t_transport_stream_id
|
||||
txpid = xmlGetNumericAttribute(node, "tx", 16);
|
||||
vtype = xmlGetNumericAttribute(node, "vt", 16);
|
||||
scrambled = xmlGetNumericAttribute(node, "s", 16);
|
||||
number = xmlGetNumericAttribute(node, "num", 10);
|
||||
|
||||
chid = CREATE_CHANNEL_ID64;
|
||||
char *ptr = xmlGetAttribute(node, "action");
|
||||
|
Reference in New Issue
Block a user