mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-18 10:51:07 +02:00
zapit/frontend: move setName() function away from danger zone
Origin commit data
------------------
Branch: ni/coolstream
Commit: fdd712c19f
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-11-01 (Sun, 01 Nov 2020)
Origin message was:
------------------
- zapit/frontend: move setName() function away from danger zone
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1332,12 +1332,6 @@ uint32_t CFrontend::getFEBandwidth(fe_bandwidth_t bandwidth)
|
||||
return bandwidth_hz;
|
||||
}
|
||||
|
||||
void CFrontend::setName(const char* _name)
|
||||
{
|
||||
memset(info.name, '\0', sizeof(info.name));
|
||||
snprintf(info.name, sizeof(info.name)-1, "%s", _name);
|
||||
}
|
||||
|
||||
bool CFrontend::buildProperties(const FrontendParameters *feparams, struct dtv_properties& cmdseq, bool can_multistream)
|
||||
{
|
||||
fe_pilot_t pilot = PILOT_OFF;
|
||||
@@ -2634,6 +2628,12 @@ bool CFrontend::isHybrid(void)
|
||||
return false;
|
||||
}
|
||||
|
||||
void CFrontend::setName(const char* _name)
|
||||
{
|
||||
memset(info.name, '\0', sizeof(info.name));
|
||||
snprintf(info.name, sizeof(info.name)-1, "%s", _name);
|
||||
}
|
||||
|
||||
bool CFrontend::supportsDelivery(delivery_system_t delsys)
|
||||
{
|
||||
return (deliverySystemMask & delsys) != 0;
|
||||
|
Reference in New Issue
Block a user