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:
parent
a94d25b635
commit
12d61d37cf
2
poller.c
2
poller.c
@ -78,7 +78,7 @@ void cSatipPoller::Action(void)
|
|||||||
for (int i = 0; i < nfds; ++i) {
|
for (int i = 0; i < nfds; ++i) {
|
||||||
cSatipPollerIf* poll = reinterpret_cast<cSatipPollerIf *>(events[i].data.ptr);
|
cSatipPollerIf* poll = reinterpret_cast<cSatipPollerIf *>(events[i].data.ptr);
|
||||||
if (poll)
|
if (poll)
|
||||||
poll->Action(events[i].events);
|
poll->Process(events[i].events);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
debug("cSatipPoller::%s(): exiting", __FUNCTION__);
|
debug("cSatipPoller::%s(): exiting", __FUNCTION__);
|
||||||
|
@ -13,7 +13,7 @@ public:
|
|||||||
cSatipPollerIf() {}
|
cSatipPollerIf() {}
|
||||||
virtual ~cSatipPollerIf() {}
|
virtual ~cSatipPollerIf() {}
|
||||||
virtual int GetFd(void) = 0;
|
virtual int GetFd(void) = 0;
|
||||||
virtual void Action(int fd) = 0;
|
virtual void Process(int fdP) = 0;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
cSatipPollerIf(const cSatipPollerIf&);
|
cSatipPollerIf(const cSatipPollerIf&);
|
||||||
|
2
rtcp.c
2
rtcp.c
@ -74,7 +74,7 @@ int cSatipRtcp::GetApplicationOffset(int *lengthP)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
void cSatipRtcp::Action(int fdP)
|
void cSatipRtcp::Process(int fdP)
|
||||||
{
|
{
|
||||||
//debug("cSatipRtcp::%s(%d)", __FUNCTION__, fdP);
|
//debug("cSatipRtcp::%s(%d)", __FUNCTION__, fdP);
|
||||||
if (bufferM) {
|
if (bufferM) {
|
||||||
|
9
rtcp.h
9
rtcp.h
@ -19,13 +19,14 @@ private:
|
|||||||
unsigned char *bufferM;
|
unsigned char *bufferM;
|
||||||
int GetApplicationOffset(int *lenghtP);
|
int GetApplicationOffset(int *lenghtP);
|
||||||
|
|
||||||
protected:
|
|
||||||
virtual int GetFd(void);
|
|
||||||
virtual void Action(int fdP);
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
cSatipRtcp(cSatipTunerIf &tunerP, unsigned int bufferLenP);
|
cSatipRtcp(cSatipTunerIf &tunerP, unsigned int bufferLenP);
|
||||||
virtual ~cSatipRtcp();
|
virtual ~cSatipRtcp();
|
||||||
|
|
||||||
|
// for internal poller interface
|
||||||
|
public:
|
||||||
|
virtual int GetFd(void);
|
||||||
|
virtual void Process(int fdP);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* __SATIP_RTCP_H_ */
|
#endif /* __SATIP_RTCP_H_ */
|
||||||
|
2
rtp.c
2
rtp.c
@ -100,7 +100,7 @@ int cSatipRtp::GetHeaderLenght(int lengthP)
|
|||||||
return headerlen;
|
return headerlen;
|
||||||
}
|
}
|
||||||
|
|
||||||
void cSatipRtp::Action(int fdP)
|
void cSatipRtp::Process(int fdP)
|
||||||
{
|
{
|
||||||
//debug("cSatipRtp::%s(%d)", __FUNCTION__, fdP);
|
//debug("cSatipRtp::%s(%d)", __FUNCTION__, fdP);
|
||||||
if (bufferM) {
|
if (bufferM) {
|
||||||
|
9
rtp.h
9
rtp.h
@ -25,14 +25,15 @@ private:
|
|||||||
int sequenceNumberM;
|
int sequenceNumberM;
|
||||||
int GetHeaderLenght(int lengthP);
|
int GetHeaderLenght(int lengthP);
|
||||||
|
|
||||||
protected:
|
|
||||||
virtual int GetFd(void);
|
|
||||||
virtual void Action(int fdP);
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
cSatipRtp(cSatipTunerIf &tunerP, unsigned int bufferLenP);
|
cSatipRtp(cSatipTunerIf &tunerP, unsigned int bufferLenP);
|
||||||
virtual ~cSatipRtp();
|
virtual ~cSatipRtp();
|
||||||
virtual void Close(void);
|
virtual void Close(void);
|
||||||
|
|
||||||
|
// for internal poller interface
|
||||||
|
public:
|
||||||
|
virtual int GetFd(void);
|
||||||
|
virtual void Process(int fdP);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* __SATIP_RTP_H_ */
|
#endif /* __SATIP_RTP_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user