vdr
1.7.27
|
Public Member Functions | |
cLiveSubtitle (int SPid) | |
virtual | ~cLiveSubtitle () |
Protected Member Functions | |
virtual void | Receive (uchar *Data, int Length) |
cLiveSubtitle::cLiveSubtitle | ( | int | SPid | ) |
Definition at line 33 of file device.c.
References cReceiver::AddPid().
cLiveSubtitle::~cLiveSubtitle | ( | ) | [virtual] |
Definition at line 38 of file device.c.
References cReceiver::Detach().
void cLiveSubtitle::Receive | ( | uchar * | Data, |
int | Length | ||
) | [protected, virtual] |
This function is called from the cDevice we are attached to, and delivers one TS packet from the set of PIDs the cReceiver has requested.
The data packet must be accepted immediately, and the call must return as soon as possible, without any unnecessary delay. Each TS packet will be delivered only ONCE, so the cReceiver must make sure that it will be able to buffer the data if necessary.
Implements cReceiver.
Definition at line 43 of file device.c.
References cDevice::PlayTs(), and cDevice::PrimaryDevice().