diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | softhddevice.cpp | 14 |
2 files changed, 15 insertions, 0 deletions
@@ -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. diff --git a/softhddevice.cpp b/softhddevice.cpp index 21d5f4d..0d75cc9 100644 --- a/softhddevice.cpp +++ b/softhddevice.cpp @@ -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. |