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 /dvbdevice.c | |
parent | 2f684611d488fb3b05680b8d40e1a4d0b3e124fc (diff) | |
download | vdr-d4ab35d1d92e14e9a4e7490058546642da728e02.tar.gz vdr-d4ab35d1d92e14e9a4e7490058546642da728e02.tar.bz2 |
Implemented cDevice::NeedsData()
Diffstat (limited to 'dvbdevice.c')
-rw-r--r-- | dvbdevice.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dvbdevice.c b/dvbdevice.c index 3c54d70d..b37a98db 100644 --- a/dvbdevice.c +++ b/dvbdevice.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbdevice.c 1.3 2002/08/11 12:03:33 kls Exp $ + * $Id: dvbdevice.c 1.4 2002/08/15 09:59:33 kls Exp $ */ #include "dvbdevice.h" @@ -660,6 +660,11 @@ void cDvbDevice::StillPicture(const uchar *Data, int Length) #endif } +bool cDvbDevice::NeedsData(int Wait) +{ + return cFile::FileReadyForWriting(fd_video, Wait); +} + int cDvbDevice::PlayVideo(const uchar *Data, int Length) { if (fd_video >= 0) |