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/xine-engine/load_plugins.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/xine-engine/load_plugins.c') diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c index df3e9bf7c..ac76ae0d7 100644 --- a/src/xine-engine/load_plugins.c +++ b/src/xine-engine/load_plugins.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: load_plugins.c,v 1.190 2004/12/01 06:03:46 athp Exp $ + * $Id: load_plugins.c,v 1.191 2004/12/12 22:01:31 mroi Exp $ * * * Load input/demux/audio_out/video_out/codec plugins @@ -113,7 +113,7 @@ static int get_decoder_priority(xine_t *this, plugin_node_t *node) { cfg_entry_t *entry; char key[80]; - sprintf(key, "decoder.%s_priority", node->info->id); + sprintf(key, "engine.decoder_priorities.%s", node->info->id); entry = this->config->lookup_entry(this->config, key); @@ -362,7 +362,7 @@ static void _insert_plugin (xine_t *this, decoder_new->supported_types = types; priority = decoder_new->priority = decoder_old->priority; - sprintf(key, "decoder.%s_priority", info->id); + sprintf(key, "engine.decoder_priorities.%s", info->id); sprintf(desc, _("priority for %s decoder"), info->id); /* write the description on the heap because the config system * does not strdup() it, so we have to provide a different pointer -- cgit v1.2.3