fix lots of stuff for first position in cables.xml/satellites.xml (Satbaby - THX for the hint!)

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1619 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 0656ab25da
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2011-08-11 (Thu, 11 Aug 2011)

Origin message was:
------------------
- fix lots of stuff for first position in cables.xml/satellites.xml (Satbaby - THX for the hint!)

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1619 e54a6e83-5905-42d5-8d5c-058d10e6a962


------------------
This commit was generated by Migit
This commit is contained in:
gixxpunk
2011-08-11 17:04:21 +00:00
parent 30fccda008
commit 91105930a3
6 changed files with 6 additions and 6 deletions

View File

@@ -83,7 +83,7 @@ CSubService::CSubService(const t_original_network_id anoriginal_network_id, cons
t_channel_id CSubService::getChannelID(void) const
{
return ((uint64_t) ( satellitePosition > 0 ? satellitePosition : (uint64_t)(0xF000+ abs(satellitePosition))) << 48) |
return ((uint64_t) ( satellitePosition >= 0 ? satellitePosition : (uint64_t)(0xF000+ abs(satellitePosition))) << 48) |
(uint64_t) CREATE_CHANNEL_ID_FROM_SERVICE_ORIGINALNETWORK_TRANSPORTSTREAM_ID(service.service_id, service.original_network_id, service.transport_stream_id);
}