projects
/
record-dvb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5eca7f
)
better chunksize
author
michael
<michael>
Sat, 1 Jul 2006 17:19:18 +0000
(17:19 +0000)
committer
michael
<michael>
Sat, 1 Jul 2006 17:19:18 +0000
(17:19 +0000)
record-dvb.c
patch
|
blob
|
blame
|
history
diff --git
a/record-dvb.c
b/record-dvb.c
index 63102cfa3d4bd901d3aa9b7ca964cb18b325b192..d32eba1fe0576d63a75f9c5328d6c85d7b01703b 100644
(file)
--- a/
record-dvb.c
+++ b/
record-dvb.c
@@
-13,7
+13,7
@@
#include "http.h"
#include "mcast.h"
-#define CHUNKSIZE
8192
+#define CHUNKSIZE
1500
void record(int(*open_fn)(char *), char *url, char *outfile, int duration)
{
@@
-42,7
+42,6
@@
void record(int(*open_fn)(char *), char *url, char *outfile, int duration)
/* TODO: Insert better connection-loss recovery here */
in = (*open_fn)(url);
}
-
written = 0;
do {
if ((i = write(out, buffer, bytes-written)) < 0) {
Impressum
,
Datenschutz