void CPVRGUIInfo::CharInfoEncryption(CStdString &strValue) const { CPVRChannel channel; if (g_PVRClients->GetPlayingChannel(channel)) strValue.Format("%s", channel.EncryptionName()); else strValue = StringUtils::EmptyString; }
void CPVRGUIInfo::CharInfoEncryption(CStdString &strValue) const { CSingleLock lock(m_critSection); CPVRChannel channel; if (g_PVRClients->GetPlayingChannel(&channel)) strValue.Format("%s", channel.EncryptionName()); else strValue = ""; }