diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-08-15 10:13:03 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-08-15 10:13:03 +0200 |
commit | d4ab35d1d92e14e9a4e7490058546642da728e02 (patch) | |
tree | 95cd2a77cfb8c83f189b509802d99c1567070a86 /device.c | |
parent | 2f684611d488fb3b05680b8d40e1a4d0b3e124fc (diff) | |
download | vdr-d4ab35d1d92e14e9a4e7490058546642da728e02.tar.gz vdr-d4ab35d1d92e14e9a4e7490058546642da728e02.tar.bz2 |
Implemented cDevice::NeedsData()
Diffstat (limited to 'device.c')
-rw-r--r-- | device.c | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -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; |