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/libspucmml/xine_decoder.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libspucmml/xine_decoder.c') diff --git a/src/libspucmml/xine_decoder.c b/src/libspucmml/xine_decoder.c index c64a873db..ddf3714ae 100644 --- a/src/libspucmml/xine_decoder.c +++ b/src/libspucmml/xine_decoder.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: xine_decoder.c,v 1.3 2004/09/12 09:29:28 f1rmb Exp $ + * $Id: xine_decoder.c,v 1.4 2004/12/12 22:01:10 mroi Exp $ * */ @@ -473,13 +473,13 @@ static spu_decoder_t *spucmml_class_open_plugin (spu_decoder_class_t *class_gen, this->subtitle_size = 1; this->font = class->xine->config->register_string(class->xine->config, - "misc.spu_font", + "subtitles.separate.font", "sans", _("font for external subtitles"), NULL, 0, update_osd_font, this); this->vertical_offset = class->xine->config->register_num(class->xine->config, - "misc.spu_vertical_offset", + "subtitles.separate.vertical_offset", 0, _("subtitle vertical offset (relative window size)"), NULL, 0, update_vertical_offset, this); @@ -525,7 +525,7 @@ static void *init_spu_decoder_plugin (xine_t *xine, void *data) { this->xine = xine; this->src_encoding = xine->config->register_string(xine->config, - "misc.spu_src_encoding", + "subtitles.separate.src_encoding", "iso-8859-1", _("encoding of subtitles"), NULL, 10, update_src_encoding, this); -- cgit v1.2.3