mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Fix compile error with VDR 2.1.3.
This commit is contained in:
parent
8577292c50
commit
aee9bbed90
@ -1,6 +1,7 @@
|
||||
User johns
|
||||
Date:
|
||||
|
||||
Fix compile error with VDR 2.1.3.
|
||||
Fix bug: memory leak.
|
||||
PIP close clears the last used PIP channel.
|
||||
Fix bug: -DOSD_DEBUG uses old (deleted) variable.
|
||||
|
@ -2051,7 +2051,11 @@ class cSoftHdDevice:public cDevice
|
||||
virtual bool HasDecoder(void) const;
|
||||
virtual bool CanReplay(void) const;
|
||||
virtual bool SetPlayMode(ePlayMode);
|
||||
#if APIVERSNUM >= 20103
|
||||
virtual void TrickSpeed(int, bool);
|
||||
#else
|
||||
virtual void TrickSpeed(int);
|
||||
#endif
|
||||
virtual void Clear(void);
|
||||
virtual void Play(void);
|
||||
virtual void Freeze(void);
|
||||
@ -2239,13 +2243,23 @@ int64_t cSoftHdDevice::GetSTC(void)
|
||||
** times.
|
||||
**
|
||||
** @param speed trick speed
|
||||
** @param forward flag forward direction
|
||||
*/
|
||||
#if APIVERSNUM >= 20103
|
||||
void cSoftHdDevice::TrickSpeed(int speed, bool forward)
|
||||
{
|
||||
dsyslog("[softhddev]%s: %d $d\n", __FUNCTION__, speed, forward);
|
||||
|
||||
::TrickSpeed(speed);
|
||||
}
|
||||
#else
|
||||
void cSoftHdDevice::TrickSpeed(int speed)
|
||||
{
|
||||
dsyslog("[softhddev]%s: %d\n", __FUNCTION__, speed);
|
||||
|
||||
::TrickSpeed(speed);
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
** Clears all video and audio data from the device.
|
||||
|
Loading…
Reference in New Issue
Block a user