diff options
author | Torsten Jager <t.jager@gmx.de> | 2014-03-10 16:36:55 +0100 |
---|---|---|
committer | Torsten Jager <t.jager@gmx.de> | 2014-03-10 16:36:55 +0100 |
commit | 9dc01446b018803415e0fe02b0f060b037e0738a (patch) | |
tree | af1041e41677ce01eb51fd4496a5b5f2c655584e /src/input/input_dvd.c | |
parent | 19ebd24e0d03f60a8a4f5aa90ff51021cae2b430 (diff) | |
download | xine-lib-9dc01446b018803415e0fe02b0f060b037e0738a.tar.gz xine-lib-9dc01446b018803415e0fe02b0f060b037e0738a.tar.bz2 |
Silence compiler warnings on register_enum () arg #4.
Making them all "const char * const *" did work too
(even with Kaffeine build/run), but that would be
an API change.
Diffstat (limited to 'src/input/input_dvd.c')
-rw-r--r-- | src/input/input_dvd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/input/input_dvd.c b/src/input/input_dvd.c index a8d805fa4..69010ff3f 100644 --- a/src/input/input_dvd.c +++ b/src/input/input_dvd.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2000-2012 the xine project, + * Copyright (C) 2000-2014 the xine project, * Rich Wareham <richwareham@users.sourceforge.net> * * This file is part of xine, a free video player. @@ -1805,7 +1805,7 @@ static void *init_class (xine_t *xine, void *data) { if (raw_device) xine_setenv("DVDCSS_RAW_DEVICE", raw_device, 0); mode = config->register_enum(config, "media.dvd.css_decryption_method", 0, - decrypt_modes, _("CSS decryption method"), + (char **)decrypt_modes, _("CSS decryption method"), _("Selects the decryption method libdvdcss will use to descramble " "copy protected DVDs. Try the various methods, if you have problems " "playing scrambled DVDs."), 20, NULL, NULL); @@ -1841,7 +1841,7 @@ static void *init_class (xine_t *xine, void *data) { "of the DVD layer change on faster drives."), 10, read_ahead_cb, this); config->register_enum(config, "media.dvd.skip_behaviour", 0, - skip_modes, + (char **)skip_modes, _("unit for the skip action"), _("You can configure the behaviour when issuing a skip command (using the skip " "buttons for example). The individual values mean:\n\n" @@ -1857,7 +1857,7 @@ static void *init_class (xine_t *xine, void *data) { "features on the DVD"), 20, NULL, NULL); config->register_enum(config, "media.dvd.seek_behaviour", 0, - seek_modes, + (char **)seek_modes, _("unit for seeking"), _("You can configure the domain spanned by the seek slider. The individual " "values mean:\n\n" @@ -1869,7 +1869,7 @@ static void *init_class (xine_t *xine, void *data) { "a chapter of the current feature"), 20, seek_mode_cb, this); config->register_enum(config, "media.dvd.play_single_chapter", 0, - play_single_chapter_modes, + (char **)play_single_chapter_modes, _("play mode when title/chapter is given"), _("You can configure the behaviour when playing a dvd from a given " "title/chapter (eg. using MRL 'dvd:/1.2'). The individual values mean:\n\n" |