diff options
Diffstat (limited to 'src/video_out/video_out_vidix.c')
-rw-r--r-- | src/video_out/video_out_vidix.c | 32 |
1 files changed, 23 insertions, 9 deletions
diff --git a/src/video_out/video_out_vidix.c b/src/video_out/video_out_vidix.c index bc25fc102..88f5d055f 100644 --- a/src/video_out/video_out_vidix.c +++ b/src/video_out/video_out_vidix.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: video_out_vidix.c,v 1.60 2004/04/10 15:31:10 miguelfreitas Exp $ + * $Id: video_out_vidix.c,v 1.61 2004/04/26 17:50:11 mroi Exp $ * * video_out_vidix.c * @@ -938,17 +938,17 @@ static vidix_driver_t *open_plugin (video_driver_class_t *class_gen) { if(this->vidix_eq.cap & VEQ_CAP_RGB_INTENSITY) { this->vidix_eq.red_intensity = config->register_range(config, "video.vidix_red_intensity", 0, -1000, 1000, - "red intensity", NULL, 10, + _("red intensity"), _("The intensity of the red colour components."), 10, (void*) vidix_rgb_callback, this); this->vidix_eq.green_intensity = config->register_range(config, "video.vidix_green_intensity", 0, -1000, 1000, - "green intensity", NULL, 10, + _("green intensity"), _("The intensity of the green colour components."), 10, (void*) vidix_rgb_callback, this); this->vidix_eq.blue_intensity = config->register_range(config, "video.vidix_blue_intensity", 0, -1000, 1000, - "blue intensity", NULL, 10, + _("blue intensity"), _("The intensity of the blue colour components."), 10, (void*) vidix_rgb_callback, this); if((err = vdlPlaybackSetEq(this->vidix_handler, &this->vidix_eq))) @@ -960,7 +960,10 @@ static vidix_driver_t *open_plugin (video_driver_class_t *class_gen) { /* Configuration for double buffering */ this->use_doublebuffer = config->register_bool(config, - "video.vidix_use_double_buffer", 1, "double buffer to sync video to retrace", NULL, 10, + "video.vidix_use_double_buffer", 1, _("enable double buffering"), + _("Double buffering will synchronize the update of the video image to the repainting of the entire " + "screen (\"vertical retrace\"). This eliminates flickering and tearing artifacts, but will use " + "more graphics memory."), 20, (void*) vidix_db_callback, this); /* Set up remaining props */ @@ -1100,17 +1103,23 @@ static vo_driver_t *vidix_open_plugin (video_driver_class_t *class_gen, const vo /* Colour key components */ this->vidix_grkey.ckey.red = config->register_range(config, "video.vidix_colour_key_red", 255, 0, 255, - "video overlay colour key red component", NULL, 10, + _("video overlay colour key red component"), + _("The colour key is used to tell the graphics card where to overlay the video image. " + "Try different values, if you experience windows becoming transparent."), 20, (void*) vidix_ckey_callback, this); this->vidix_grkey.ckey.green = config->register_range(config, "video.vidix_colour_key_green", 0, 0, 255, - "video overlay colour key green component", NULL, 10, + _("video overlay colour key green component"), + _("The colour key is used to tell the graphics card where to overlay the video image. " + "Try different values, if you experience windows becoming transparent."), 20, (void*) vidix_ckey_callback, this); this->vidix_grkey.ckey.blue = config->register_range(config, "video.vidix_colour_key_blue", 255, 0, 255, - "video overlay colour key blue component", NULL, 10, + _("video overlay colour key blue component"), + _("The colour key is used to tell the graphics card where to overlay the video image. " + "Try different values, if you experience windows becoming transparent."), 20, (void*) vidix_ckey_callback, this); vidix_update_colourkey(this); @@ -1168,7 +1177,12 @@ static vo_driver_t *vidixfb_open_plugin (video_driver_class_t *class_gen, const /* Register config option for fb device */ device = config->register_string(config, "video.vidixfb_device", "/dev/fb0", - "frame buffer device for vidix overlay", NULL, 10, NULL, NULL); + _("framebuffer device name"), + _("Specifies the file name for the framebuffer device to be used.\n" + "This setting is security critical, because when changed to a different file, xine " + "can be used to fill this file with arbitrary content. So you should be careful that " + "the value you enter really is a proper framebuffer device."), + XINE_CONFIG_SECURITY, NULL, NULL); /* Open fb device for reading */ if((fd = open("/dev/fb0", O_RDONLY)) < 0) { |