From 16b6f9646902e6940a991f1d3577c068573015a8 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Sun, 12 Dec 2004 22:00:47 +0000 Subject: 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 --- src/input/net_buf_ctrl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/input/net_buf_ctrl.c') 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; -- cgit v1.2.3