cDevice::TrickSpeed() now has an additional parameter named Forward

This commit is contained in:
Klaus Schmidinger
2013-12-25 13:36:51 +01:00
parent 21c8829783
commit 4e22b62192
11 changed files with 28 additions and 16 deletions

View File

@@ -50,3 +50,7 @@ VDR Plugin 'dvbsddevice' Revision History
- Fixed handling the -o option (short form of --outputonly; problem reported by
Mario Edelmann).
2014-01-01: Version 2.1.1
- cDevice::TrickSpeed() now has an additional parameter named Forward.

View File

@@ -3,14 +3,14 @@
*
* See the README file for copyright information and how to reach the author.
*
* $Id: dvbsddevice.c 3.1 2013/08/22 08:20:18 kls Exp $
* $Id: dvbsddevice.c 3.2 2013/12/25 13:27:00 kls Exp $
*/
#include <getopt.h>
#include <vdr/plugin.h>
#include "dvbsdffdevice.h"
static const char *VERSION = "2.0.1";
static const char *VERSION = "2.1.1";
static const char *DESCRIPTION = "SD Full Featured DVB device";
class cPluginDvbsddevice : public cPlugin {

View File

@@ -3,7 +3,7 @@
*
* See the README file for copyright information and how to reach the author.
*
* $Id: dvbsdffdevice.c 2.35 2013/02/17 13:16:18 kls Exp $
* $Id: dvbsdffdevice.c 3.1 2013/12/25 13:27:00 kls Exp $
*/
#include "dvbsdffdevice.h"
@@ -593,7 +593,7 @@ int64_t cDvbSdFfDevice::GetSTC(void)
return -1;
}
void cDvbSdFfDevice::TrickSpeed(int Speed)
void cDvbSdFfDevice::TrickSpeed(int Speed, bool Forward)
{
if (fd_video >= 0)
CHECK(ioctl(fd_video, VIDEO_SLOWMOTION, Speed));

View File

@@ -3,7 +3,7 @@
*
* See the README file for copyright information and how to reach the author.
*
* $Id: dvbsdffdevice.h 2.16 2013/02/17 13:16:29 kls Exp $
* $Id: dvbsdffdevice.h 3.1 2013/12/25 13:27:00 kls Exp $
*/
#ifndef __DVBSDFFDEVICE_H
@@ -94,7 +94,7 @@ protected:
virtual int PlayTsAudio(const uchar *Data, int Length);
public:
virtual int64_t GetSTC(void);
virtual void TrickSpeed(int Speed);
virtual void TrickSpeed(int Speed, bool Forward);
virtual void Clear(void);
virtual void Play(void);
virtual void Freeze(void);