diff options
Diffstat (limited to 'src/dxr3')
-rw-r--r-- | src/dxr3/dxr3_decode_video.c | 4 | ||||
-rw-r--r-- | src/dxr3/video_out_dxr3.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/dxr3/dxr3_decode_video.c b/src/dxr3/dxr3_decode_video.c index 61fd503c7..200a4d77b 100644 --- a/src/dxr3/dxr3_decode_video.c +++ b/src/dxr3/dxr3_decode_video.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2000-2011 the xine project + * Copyright (C) 2000-2014 the xine project * * This file is part of xine, a free video player. * @@ -235,7 +235,7 @@ static video_decoder_t *dxr3_open_plugin(video_decoder_class_t *class_gen, xine_ } this->use_panscan = cfg->register_enum(cfg, - "dxr3.use_panscan", 0, panscan_types, _("use Pan & Scan info"), + "dxr3.use_panscan", 0, (char **)panscan_types, _("use Pan & Scan info"), _("\"Pan & Scan\" is a special display mode which is sometimes used in MPEG " "encoded material. You can specify here, how to handle such content.\n\n" "only when forced\n" diff --git a/src/dxr3/video_out_dxr3.c b/src/dxr3/video_out_dxr3.c index 1944c1746..8b9b9ae36 100644 --- a/src/dxr3/video_out_dxr3.c +++ b/src/dxr3/video_out_dxr3.c @@ -366,7 +366,7 @@ static vo_driver_t *dxr3_vo_open_plugin(video_driver_class_t *class_gen, const v dxr3_set_property(&this->vo_driver, VO_PROP_SATURATION, 500); /* overlay or tvout? */ - confnum = config->register_enum(config, "dxr3.output.mode", 0, videoout_modes, + confnum = config->register_enum(config, "dxr3.output.mode", 0, (char **)videoout_modes, _("video output mode (TV or overlay)"), _("The way the DXR3 outputs the final video can be set here. The individual values are:\n\n" "letterboxed tv\n" @@ -440,7 +440,7 @@ static vo_driver_t *dxr3_vo_open_plugin(video_driver_class_t *class_gen, const v } /* init tvmode */ - confnum = config->register_enum(config, "dxr3.output.tvmode", 3, tv_modes, + confnum = config->register_enum(config, "dxr3.output.tvmode", 3, (char **)tv_modes, _("preferred tv mode"), _("Selects the TV mode to be used by the DXR3. The values mean:\n\n" "ntsc: NTSC at 60Hz\npal: PAL at 50Hz\npal60: PAL at 60Hz\ndefault: keep the card's setting"), 0, NULL, NULL); |