f73a685857
- Strip Makefile header. - Bump PORTREVISION. Submitted by: pointyhat amd64 10-exprun via miwi
25 lines
1.1 KiB
Text
25 lines
1.1 KiB
Text
--- ttxtsubs.c.orig
|
|
+++ ttxtsubs.c
|
|
@@ -136,7 +136,7 @@ public:
|
|
|
|
// -- cStatus
|
|
protected:
|
|
- virtual void ChannelSwitch(const cDevice *Device, int ChannelNumber);
|
|
+ virtual void ChannelSwitch(const cDevice *Device, int ChannelNumber, bool LiveView);
|
|
virtual void Replaying(const cControl *Control, const char *Name, const char *FileName, bool On);
|
|
// virtual void OsdClear(void) { ShowTtxt(); }
|
|
// virtual void OsdTitle(const char *Title) { HideTtxt(); }
|
|
@@ -333,10 +333,11 @@ bool cPluginTtxtsubs::SetupParse(const c
|
|
return true;
|
|
}
|
|
|
|
-void cPluginTtxtsubs::ChannelSwitch(const cDevice *Device, int ChannelNumber)
|
|
+void cPluginTtxtsubs::ChannelSwitch(const cDevice *Device, int ChannelNumber, bool LiveView)
|
|
{
|
|
//dprint("cPluginTtxtsubs::ChannelSwitch(devicenr: %d, channelnr: %d) - mDispl: %x\n", Device->DeviceNumber(), ChannelNumber, mDispl); // XXX
|
|
- if (Device->IsPrimaryDevice() && !Device->Replaying() && ChannelNumber)
|
|
+ if (LiveView /*Device->IsPrimaryDevice()*/ &&
|
|
+ !Device->Replaying() && ChannelNumber)
|
|
{
|
|
StopTtxt();
|
|
DELETENULL(mLiveReceiver);
|