summaryrefslogtreecommitdiff
path: root/dvbplayer.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-04-13 11:12:54 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2009-04-13 11:12:54 +0200
commit27c061e449729f586d07c961e43691d2bc3105cb (patch)
treeab98ed8b429b056fa9ff723297c685679bcb678f /dvbplayer.c
parent3628bbbfa16288d548a4b64a67c163699c08d06f (diff)
downloadvdr-27c061e449729f586d07c961e43691d2bc3105cb.tar.gz
vdr-27c061e449729f586d07c961e43691d2bc3105cb.tar.bz2
Made MAXFRAMESIZE a multiple of TS_SIZE to avoid breaking up TS packets
Diffstat (limited to 'dvbplayer.c')
-rw-r--r--dvbplayer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dvbplayer.c b/dvbplayer.c
index 9de0fca9..322d2ff0 100644
--- a/dvbplayer.c
+++ b/dvbplayer.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbplayer.c 2.11 2009/04/05 13:04:33 kls Exp $
+ * $Id: dvbplayer.c 2.12 2009/04/13 11:10:50 kls Exp $
*/
#include "dvbplayer.h"
@@ -456,7 +456,7 @@ void cDvbPlayer::Action(void)
eof = true;
}
else // allows replay even if the index file is missing
- Length = MAXFRAMESIZE / TS_SIZE * TS_SIZE;// FIXME: use a linear ringbuffer in this case, and fix cDevice::PlayPes()
+ Length = MAXFRAMESIZE;
if (Length == -1)
Length = MAXFRAMESIZE; // this means we read up to EOF (see cIndex)
else if (Length > MAXFRAMESIZE) {