diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-01-31 14:06:03 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-01-31 14:06:03 +0000 |
commit | 8695f5d8c99952a89f59b314c58a5e0bbd8a6e6e (patch) | |
tree | 47af2fb780645208a11b0e3bcea97e709c050330 /src/input/input_http.c | |
parent | 112c134d4636786c1b0e22839bd782d9554b961e (diff) | |
download | xine-lib-8695f5d8c99952a89f59b314c58a5e0bbd8a6e6e.tar.gz xine-lib-8695f5d8c99952a89f59b314c58a5e0bbd8a6e6e.tar.bz2 |
- MAX_PREVIEW_SIZE = 4096
- new fb driver with zero copy
CVS patchset: 4058
CVS date: 2003/01/31 14:06:03
Diffstat (limited to 'src/input/input_http.c')
-rw-r--r-- | src/input/input_http.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/input/input_http.c b/src/input/input_http.c index 102dd5e96..9b21dde3d 100644 --- a/src/input/input_http.c +++ b/src/input/input_http.c @@ -45,7 +45,6 @@ #define LOG */ -#define PREVIEW_SIZE 2200 #define BUFSIZE 1024 #define DEFAULT_HTTP_PORT 80 @@ -82,7 +81,7 @@ typedef struct { char *proxyhost; int proxyport; - char preview[PREVIEW_SIZE]; + char preview[MAX_PREVIEW_SIZE]; off_t preview_size; off_t preview_pos; @@ -888,7 +887,7 @@ static input_plugin_t *open_plugin (input_class_t *cls_gen, xine_stream_t *strea */ this->preview_size = http_plugin_read (&this->input_plugin, this->preview, - PREVIEW_SIZE); + MAX_PREVIEW_SIZE); this->preview_pos = 0; this->curpos = 0; |