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.h | |
parent | 2f684611d488fb3b05680b8d40e1a4d0b3e124fc (diff) | |
download | vdr-d4ab35d1d92e14e9a4e7490058546642da728e02.tar.gz vdr-d4ab35d1d92e14e9a4e7490058546642da728e02.tar.bz2 |
Implemented cDevice::NeedsData()
Diffstat (limited to 'device.h')
-rw-r--r-- | device.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |