diff options
author | Chris Larson <clarson@kergoth.com> | 2004-11-25 10:19:50 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-11-25 10:19:50 +0000 |
commit | 119b59cd0df00269bfe51d906657193217b8c884 (patch) | |
tree | be4bc7f812a9df2c6b3f17e6c3cc9bfafad07253 /libxine/libxine-opie-1.0.0-rc7/libxine-cut-memusage.patch | |
parent | c985a77fad25302d576fbcf92149c983887bc0b9 (diff) |
Remove the EOLN_NATIVE flag from a ton of files (patches & the like for which line ending conversions can break things).
BKrev: 41a5b1c6eA2OPeQrDQEgEwAmKXvQJg
Diffstat (limited to 'libxine/libxine-opie-1.0.0-rc7/libxine-cut-memusage.patch')
-rw-r--r-- | libxine/libxine-opie-1.0.0-rc7/libxine-cut-memusage.patch | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/libxine/libxine-opie-1.0.0-rc7/libxine-cut-memusage.patch b/libxine/libxine-opie-1.0.0-rc7/libxine-cut-memusage.patch index e69de29bb2..762ceaa3ef 100644 --- a/libxine/libxine-opie-1.0.0-rc7/libxine-cut-memusage.patch +++ b/libxine/libxine-opie-1.0.0-rc7/libxine-cut-memusage.patch @@ -0,0 +1,63 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- xine-lib-1-rc7/src/xine-engine/audio_out.c~libxine-cut-memusage ++++ xine-lib-1-rc7/src/xine-engine/audio_out.c +@@ -95,10 +95,10 @@ + #include "metronom.h" + + +-#define NUM_AUDIO_BUFFERS 32 +-#define AUDIO_BUF_SIZE 32768 ++#define NUM_AUDIO_BUFFERS 16 ++#define AUDIO_BUF_SIZE 8192 + +-#define ZERO_BUF_SIZE 5000 ++#define ZERO_BUF_SIZE 2048 + + /* By adding gap errors (difference between reported and expected + * sound card clock) into metronom's vpts_offset we can use its +--- xine-lib-1-rc7/src/xine-engine/video_decoder.c~libxine-cut-memusage ++++ xine-lib-1-rc7/src/xine-engine/video_decoder.c +@@ -479,7 +479,7 @@ + + num_buffers = stream->xine->config->register_num (stream->xine->config, + "video.num_buffers", +- 500, ++ 250, + _("number of video buffers"), + _("The number of video buffers (each is 8k in size) " + "xine uses in its internal queue. Higher values " +@@ -487,7 +487,7 @@ + "also increased latency and memory comsumption."), + 20, NULL, NULL); + +- stream->video_fifo = _x_fifo_buffer_new (num_buffers, 8192); ++ stream->video_fifo = _x_fifo_buffer_new (num_buffers, 4096); + stream->spu_track_map_entries = 0; + + pthread_attr_init(&pth_attrs); +--- xine-lib-1-rc7/src/xine-engine/video_overlay.h~libxine-cut-memusage ++++ xine-lib-1-rc7/src/xine-engine/video_overlay.h +@@ -36,7 +36,7 @@ + #define CLUT_Y_CR_CB_INIT(_y,_cr,_cb) { (_cb), (_cr), (_y) } + #endif + +-#define MAX_OBJECTS 50 ++#define MAX_OBJECTS 5 + #define MAX_EVENTS 50 + #define MAX_SHOWING 5 + +--- xine-lib-1-rc7/src/xine-engine/audio_decoder.c~libxine-cut-memusage ++++ xine-lib-1-rc7/src/xine-engine/audio_decoder.c +@@ -462,7 +462,7 @@ + + num_buffers = stream->xine->config->register_num (stream->xine->config, + "audio.num_buffers", +- 230, ++ 100, + _("number of audio buffers"), + _("The number of audio buffers (each is 8k in size) " + "xine uses in its internal queue. Higher values " |