1
0
mirror of https://github.com/rofafor/vdr-plugin-satip.git synced 2023-10-10 13:37:42 +02:00

Renamed Action() to Process().

This commit is contained in:
Rolf Ahrenberg 2014-11-16 16:56:59 +02:00
parent a94d25b635
commit 12d61d37cf
6 changed files with 14 additions and 12 deletions

View File

@ -78,7 +78,7 @@ void cSatipPoller::Action(void)
for (int i = 0; i < nfds; ++i) {
cSatipPollerIf* poll = reinterpret_cast<cSatipPollerIf *>(events[i].data.ptr);
if (poll)
poll->Action(events[i].events);
poll->Process(events[i].events);
}
}
debug("cSatipPoller::%s(): exiting", __FUNCTION__);

View File

@ -13,7 +13,7 @@ public:
cSatipPollerIf() {}
virtual ~cSatipPollerIf() {}
virtual int GetFd(void) = 0;
virtual void Action(int fd) = 0;
virtual void Process(int fdP) = 0;
private:
cSatipPollerIf(const cSatipPollerIf&);

2
rtcp.c
View File

@ -74,7 +74,7 @@ int cSatipRtcp::GetApplicationOffset(int *lengthP)
return -1;
}
void cSatipRtcp::Action(int fdP)
void cSatipRtcp::Process(int fdP)
{
//debug("cSatipRtcp::%s(%d)", __FUNCTION__, fdP);
if (bufferM) {

9
rtcp.h
View File

@ -19,13 +19,14 @@ private:
unsigned char *bufferM;
int GetApplicationOffset(int *lenghtP);
protected:
virtual int GetFd(void);
virtual void Action(int fdP);
public:
cSatipRtcp(cSatipTunerIf &tunerP, unsigned int bufferLenP);
virtual ~cSatipRtcp();
// for internal poller interface
public:
virtual int GetFd(void);
virtual void Process(int fdP);
};
#endif /* __SATIP_RTCP_H_ */

2
rtp.c
View File

@ -100,7 +100,7 @@ int cSatipRtp::GetHeaderLenght(int lengthP)
return headerlen;
}
void cSatipRtp::Action(int fdP)
void cSatipRtp::Process(int fdP)
{
//debug("cSatipRtp::%s(%d)", __FUNCTION__, fdP);
if (bufferM) {

9
rtp.h
View File

@ -25,14 +25,15 @@ private:
int sequenceNumberM;
int GetHeaderLenght(int lengthP);
protected:
virtual int GetFd(void);
virtual void Action(int fdP);
public:
cSatipRtp(cSatipTunerIf &tunerP, unsigned int bufferLenP);
virtual ~cSatipRtp();
virtual void Close(void);
// for internal poller interface
public:
virtual int GetFd(void);
virtual void Process(int fdP);
};
#endif /* __SATIP_RTP_H_ */