summaryrefslogtreecommitdiff
path: root/src/input/net_buf_ctrl.c
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2004-12-12 22:00:47 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2004-12-12 22:00:47 +0000
commit16b6f9646902e6940a991f1d3577c068573015a8 (patch)
tree05401271b5a9a81668a00ddb079d3db259e4bcee /src/input/net_buf_ctrl.c
parentec4c867b1a59029166c5efc025966f7886f15c61 (diff)
downloadxine-lib-16b6f9646902e6940a991f1d3577c068573015a8.tar.gz
xine-lib-16b6f9646902e6940a991f1d3577c068573015a8.tar.bz2
huge patch ahead: reorganizing config entries with automatic conversion
and backwards compatible translation Sorry, I got a litte tired proof-reading the patch, so their might be bugs lurking around. I will give it some further examination and (as necessary) fixing tomorrow. CVS patchset: 7233 CVS date: 2004/12/12 22:00:47
Diffstat (limited to 'src/input/net_buf_ctrl.c')
-rw-r--r--src/input/net_buf_ctrl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/net_buf_ctrl.c b/src/input/net_buf_ctrl.c
index 5869bb21d..f5ad8148d 100644
--- a/src/input/net_buf_ctrl.c
+++ b/src/input/net_buf_ctrl.c
@@ -507,13 +507,13 @@ nbc_t *nbc_init (xine_stream_t *stream) {
/* when the FIFO sizes are increased compared to the default configuration,
* apply a factor to the high water mark */
- entry = stream->xine->config->lookup_entry(stream->xine->config, "video.num_buffers");
+ entry = stream->xine->config->lookup_entry(stream->xine->config, "engine.buffers.video_num_buffers");
/* No entry when no video output */
if (entry)
video_fifo_factor = (double)video_fifo->buffer_pool_capacity / (double)entry->num_default;
else
video_fifo_factor = 1.0;
- entry = stream->xine->config->lookup_entry(stream->xine->config, "audio.num_buffers");
+ entry = stream->xine->config->lookup_entry(stream->xine->config, "engine.buffers.audio_num_buffers");
/* When there's no audio output, there's no entry */
if (entry)
audio_fifo_factor = (double)audio_fifo->buffer_pool_capacity / (double)entry->num_default;