summaryrefslogtreecommitdiff
path: root/dvbdevice.c
diff options
context:
space:
mode:
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)