summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-08-15 10:13:03 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-08-15 10:13:03 +0200
commitd4ab35d1d92e14e9a4e7490058546642da728e02 (patch)
tree95cd2a77cfb8c83f189b509802d99c1567070a86 /device.c
parent2f684611d488fb3b05680b8d40e1a4d0b3e124fc (diff)
downloadvdr-d4ab35d1d92e14e9a4e7490058546642da728e02.tar.gz
vdr-d4ab35d1d92e14e9a4e7490058546642da728e02.tar.bz2
Implemented cDevice::NeedsData()
Diffstat (limited to 'device.c')
-rw-r--r--device.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/device.c b/device.c
index f70ca045..8d678503 100644
--- a/device.c
+++ b/device.c
@@ -4,12 +4,11 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.c 1.8 2002/08/04 15:18:05 kls Exp $
+ * $Id: device.c 1.9 2002/08/15 09:59:57 kls Exp $
*/
#include "device.h"
#include <errno.h>
-#include <poll.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include "eit.h"
@@ -362,7 +361,7 @@ bool cDevice::AttachPlayer(cPlayer *Player)
Detach(player);
player = Player;
player->device = this;
- player->deviceFileHandle = SetPlayMode(true);
+ SetPlayMode(true);//XXX
player->Activate(true);
return true;
}
@@ -373,7 +372,6 @@ void cDevice::Detach(cPlayer *Player)
{
if (Player && player == Player) {
player->Activate(false);
- player->deviceFileHandle = -1;
player->device = NULL;
player = NULL;
SetPlayMode(false);
@@ -399,6 +397,11 @@ void cDevice::StopReplay(void)
}
}
+bool cDevice::NeedsData(int Wait)
+{
+ return false;
+}
+
int cDevice::PlayVideo(const uchar *Data, int Length)
{
return -1;