fix utf for prov BetaDigital

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


Origin commit data
------------------
Commit: 8fa365575b
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2009-12-08 (Tue, 08 Dec 2009)
This commit is contained in:
Jacek Jendrzej
2009-12-08 17:34:13 +00:00
parent 7fa629c862
commit c3a23d6626

View File

@@ -442,8 +442,8 @@ void service_descriptor(const unsigned char * const buffer, const t_service_id s
} else if (providerName == "Chambre des D\xE9" "put\xE9" "es") {
providerName = "Chambre des D\xC3\xA9" "put\xC3\xA9" "es";
in_blacklist = true;
} else if (providerName == "PREMIERE") {
providerName = "Premiere"; // well the name PREMIERE itself is not a problem
} else if (providerName == "SKY") {
providerName = "Sky"; // well the name PREMIERE itself is not a problem
in_blacklist = true;
} else if( (strncasecmp("POLSAT",providerName.c_str(),6)==0) ||
(strncmp("D1",providerName.c_str(),2)==0) || (strncmp("OTV",providerName.c_str(),3)==0) ||
@@ -465,6 +465,10 @@ void service_descriptor(const unsigned char * const buffer, const t_service_id s
providerName = "RRSat";
in_blacklist = true;
}
else if (providerName == "BetaDigital")
{
in_blacklist = true;
}
if (in_blacklist) {
if (((unsigned char)buffer[4 + service_provider_name_length + 1]) >= 0x20) // no encoding info