summaryrefslogtreecommitdiff
path: root/device.h
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.h
parent2f684611d488fb3b05680b8d40e1a4d0b3e124fc (diff)
downloadvdr-d4ab35d1d92e14e9a4e7490058546642da728e02.tar.gz
vdr-d4ab35d1d92e14e9a4e7490058546642da728e02.tar.bz2
Implemented cDevice::NeedsData()
Diffstat (limited to 'device.h')
-rw-r--r--device.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/device.h b/device.h
index 770cdef1..6bd9828e 100644
--- a/device.h
+++ b/device.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.h 1.6 2002/08/11 13:38:13 kls Exp $
+ * $Id: device.h 1.7 2002/08/15 09:22:13 kls Exp $
*/
#ifndef __DEVICE_H
@@ -211,6 +211,11 @@ public:
// Turns off audio while replaying.
virtual void StillPicture(const uchar *Data, int Length);
// Displays the given I-frame as a still picture.
+ virtual bool NeedsData(int Wait = 0);
+ // Returns true if the device needs further data for replaying.
+ // If Wait is not zero, the device will wait up to the given number
+ // of milleseconds before returning in case there is no immediate
+ // need for data.
virtual int PlayVideo(const uchar *Data, int Length);
// Actually plays the given data block as video. The data must be
// part of a PES (Packetized Elementary Stream) which can contain