mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
zapit/src/getservices.cpp: load channel flags
Origin commit data
------------------
Commit: e440426c7d
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-04-02 (Mon, 02 Apr 2012)
This commit is contained in:
@@ -357,6 +357,7 @@ void CServiceManager::ParseChannels(xmlNodePtr node, const t_transport_stream_id
|
||||
uint16_t vtype = xmlGetNumericAttribute(node, "vt", 16);
|
||||
uint16_t scrambled = xmlGetNumericAttribute(node, "s", 16);
|
||||
int number = xmlGetNumericAttribute(node, "num", 10);
|
||||
int flags = xmlGetNumericAttribute(node, "f", 10);
|
||||
|
||||
t_channel_id chid = CREATE_CHANNEL_ID64;
|
||||
char *ptr = xmlGetAttribute(node, "action");
|
||||
@@ -400,6 +401,7 @@ void CServiceManager::ParseChannels(xmlNodePtr node, const t_transport_stream_id
|
||||
} else {
|
||||
service_count++;
|
||||
channel->number = number;
|
||||
channel->flags = flags;
|
||||
channel->scrambled = scrambled;
|
||||
channel->polarization = polarization;
|
||||
service_type = channel->getServiceType();
|
||||
|
Reference in New Issue
Block a user