diff options
author | Johns <johns98@gmx.net> | 2014-01-07 12:34:54 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2014-01-07 12:34:54 +0100 |
commit | aee9bbed90940159ed9931e56ada67943f9ee21c (patch) | |
tree | 39e672b83b1415be11d23285bad8188d875672f5 /softhddevice.cpp | |
parent | 8577292c50dc6541794898185d52cb9cf8563224 (diff) | |
download | vdr-plugin-softhddevice-aee9bbed90940159ed9931e56ada67943f9ee21c.tar.gz vdr-plugin-softhddevice-aee9bbed90940159ed9931e56ada67943f9ee21c.tar.bz2 |
Fix compile error with VDR 2.1.3.
Diffstat (limited to 'softhddevice.cpp')
-rw-r--r-- | softhddevice.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
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. |