diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-06-19 08:58:14 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-06-19 08:58:14 +0200 |
commit | b1737a8bcb3a259c9c57e76b818539191b96f045 (patch) | |
tree | 8a1274f7b89e37bf127a35af0bfbd0ec44afae5c /dvbdevice.c | |
parent | 480afc6bc8636b10849a9e61b73151e81b794f93 (diff) | |
download | vdr-b1737a8bcb3a259c9c57e76b818539191b96f045.tar.gz vdr-b1737a8bcb3a259c9c57e76b818539191b96f045.tar.bz2 |
Added cDevice::Flush()
Diffstat (limited to 'dvbdevice.c')
-rw-r--r-- | dvbdevice.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/dvbdevice.c b/dvbdevice.c index fae2408a..2f43bc8c 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.91 2004/06/12 14:50:23 kls Exp $ + * $Id: dvbdevice.c 1.92 2004/06/19 08:52:24 kls Exp $ */ #include "dvbdevice.h" @@ -1069,6 +1069,12 @@ bool cDvbDevice::Poll(cPoller &Poller, int TimeoutMs) return Poller.Poll(TimeoutMs); } +bool cDvbDevice::Flush(int TimeoutMs) +{ + //TODO actually this function should wait until all buffered data has been processed by the card, but how? + return true; +} + int cDvbDevice::PlayVideo(const uchar *Data, int Length) { int fd = (playMode == pmAudioOnly || playMode == pmAudioOnlyBlack) ? fd_audio : fd_video; |