diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-01-16 12:02:39 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-01-16 12:02:39 +0100 |
commit | 9423c636a25dcdc2531d51551aff33cf93abc095 (patch) | |
tree | 522f898c6d68ce0153e23db1c1696a2c461a7623 /dvbdevice.c | |
parent | 62390837ff4e4fab3bb837ca745219fc70d4ef3e (diff) | |
download | vdr-9423c636a25dcdc2531d51551aff33cf93abc095.tar.gz vdr-9423c636a25dcdc2531d51551aff33cf93abc095.tar.bz2 |
Fixed playing files with PES packets longer than 2048 byte through the full featured DVB card
Diffstat (limited to 'dvbdevice.c')
-rw-r--r-- | dvbdevice.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dvbdevice.c b/dvbdevice.c index d497aaff..3a7d3264 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.114 2005/01/14 14:00:44 kls Exp $ + * $Id: dvbdevice.c 1.115 2005/01/16 11:59:21 kls Exp $ */ #include "dvbdevice.h" @@ -1130,12 +1130,12 @@ bool cDvbDevice::Flush(int TimeoutMs) int cDvbDevice::PlayVideo(const uchar *Data, int Length) { - return write(fd_video, Data, Length); + return WriteAllOrNothing(fd_video, Data, Length, 1000, 10); } int cDvbDevice::PlayAudio(const uchar *Data, int Length) { - return write(fd_audio, Data, Length); + return WriteAllOrNothing(fd_audio, Data, Length, 1000, 10); } bool cDvbDevice::OpenDvr(void) |