diff options
Diffstat (limited to 'src/libsputext')
-rw-r--r-- | src/libsputext/demux_sputext.c | 8 | ||||
-rw-r--r-- | src/libsputext/xine_decoder.c | 50 |
2 files changed, 38 insertions, 20 deletions
diff --git a/src/libsputext/demux_sputext.c b/src/libsputext/demux_sputext.c index aa74639eb..664e6b702 100644 --- a/src/libsputext/demux_sputext.c +++ b/src/libsputext/demux_sputext.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: demux_sputext.c,v 1.33 2004/01/12 17:35:17 miguelfreitas Exp $ + * $Id: demux_sputext.c,v 1.34 2004/04/26 17:50:08 mroi Exp $ * * code based on old libsputext/xine_decoder.c * @@ -1352,8 +1352,10 @@ static void *init_sputext_demux_class (xine_t *xine, void *data) { */ this->max_timeout = xine->config->register_num(xine->config, "misc.sub_timeout", 4, - _("Default period to hide subtitles in seconds"), - _("Define this to non-zero, if you want automatically hide subtitle after given time. Used only with subtitle formats, where are no end time."), + _("default duration of subtitle display in seconds"), + _("Some subtitle formats do not explicitly give a duration for each subtitle. " + "For these, you can set a default duration here. Setting to zero will result " + "in the subtitle being shown until the next one takes over."), 20, config_timeout_cb, this); return this; diff --git a/src/libsputext/xine_decoder.c b/src/libsputext/xine_decoder.c index c63eca435..18c13512a 100644 --- a/src/libsputext/xine_decoder.c +++ b/src/libsputext/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.79 2004/04/07 18:10:20 valtri Exp $ + * $Id: xine_decoder.c,v 1.80 2004/04/26 17:50:08 mroi Exp $ * */ @@ -670,28 +670,44 @@ static void *init_spu_decoder_plugin (xine_t *xine, void *data) { "misc.spu_subtitle_size", 1, subtitle_size_strings, - _("Subtitle size (relative window size)"), - NULL, 0, update_subtitle_size, this); + _("subtitle size"), + _("You can adjust the subtitle size here. The setting will " + "be evaluated relative to the window size."), + 0, update_subtitle_size, this); this->vertical_offset = xine->config->register_num(xine->config, "misc.spu_vertical_offset", 0, - _("Subtitle vertical offset (relative window size)"), - NULL, 0, update_vertical_offset, this); - strcpy(this->font, xine->config->register_string(xine->config, - "misc.spu_font", - "sans", - _("Font for external subtitles"), - NULL, 0, update_osd_font, this)); + _("subtitle vertical offset"), + _("You can adjust the vertical position of the subtitle. " + "The setting will be evaluated relative to the window size."), + 0, update_vertical_offset, this); + strcpy(this->font, xine->config->register_string(xine->config, + "misc.spu_font", + "sans", + _("font for subtitles"), + _("A font from the xine font directory to be used for the " + "subtitle text."), + 10, update_osd_font, this)); this->src_encoding = xine->config->register_string(xine->config, "misc.spu_src_encoding", - "iso-8859-1", - _("Encoding of subtitles"), - NULL, 10, update_src_encoding, this); - this->use_unscaled = xine->config->register_bool(xine->config, - "misc.spu_use_unscaled_osd", + "iso-8859-1", + _("encoding of the subtitles"), + _("The encoding of the subtitle text in the stream. This setting " + "is used to render non-ASCII characters correctly. If non-ASCII " + "charachters are not displayed as you expect, ask the " + "creator of the subtitles what encoding was used."), + 10, update_src_encoding, this); + this->use_unscaled = xine->config->register_bool(xine->config, + "misc.spu_use_unscaled_osd", 1, - _("Use unscaled OSD if possible"), - NULL, 0, update_use_unscaled, this); + _("use unscaled OSD if possible"), + _("The unscaled OSD will be rendered independently of the video " + "frame and will always be sharp, even if the video is magnified. " + "This will look better, but does not work with all graphics " + "hardware. The alternative is the scaled OSD, which will become " + "blurry, if you enlarge a low resolution video to fullscreen, but " + "it works with all graphics cards."), + 10, update_use_unscaled, this); return &this->class; } |