summaryrefslogtreecommitdiff
path: root/dvbdevice.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 /dvbdevice.c
parent2f684611d488fb3b05680b8d40e1a4d0b3e124fc (diff)
downloadvdr-d4ab35d1d92e14e9a4e7490058546642da728e02.tar.gz
vdr-d4ab35d1d92e14e9a4e7490058546642da728e02.tar.bz2
Implemented cDevice::NeedsData()
Diffstat (limited to 'dvbdevice.c')
-rw-r--r--dvbdevice.c7
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)