Bug #902 ยป osdpip-vdr-1.7.26.diff
| osd.c | ||
|---|---|---|
|
return state;
|
||
|
}
|
||
|
#if VDRVERSNUM >= 10726
|
||
|
void cOsdPipObject::ChannelSwitch(const cDevice * device, int channelNumber, bool LiveView)
|
||
|
#else
|
||
|
void cOsdPipObject::ChannelSwitch(const cDevice * device, int channelNumber)
|
||
|
#endif
|
||
|
{
|
||
|
if (device != cDevice::PrimaryDevice())
|
||
|
#if VDRVERSNUM < 10726
|
||
|
bool LiveView = device && device->IsPrimaryDevice();
|
||
|
#endif
|
||
|
if (!LiveView)
|
||
|
return;
|
||
|
if (channelNumber == 0)
|
||
|
return;
|
||
| osd.h | ||
|---|---|---|
|
void StopReplay();
|
||
|
protected:
|
||
|
virtual void Action(void);
|
||
|
#if VDRVERSNUM >= 10726
|
||
|
virtual void ChannelSwitch(const cDevice * device, int channelNumber, bool LiveView);
|
||
|
#else
|
||
|
virtual void ChannelSwitch(const cDevice * device, int channelNumber);
|
||
|
#endif
|
||
|
virtual void OsdStatusMessage(const char * message);
|
||
|
public:
|
||