summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-01-02 19:02:54 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-01-02 19:02:54 +0100
commit4df6e806989eec14c08afac263601c6fd236402e (patch)
tree3caef52813f7675e536900c4df74508ca621f4ab
parent25a5633731f8f2fa0809d51b657c7c46dcccb739 (diff)
downloadxine-lib-4df6e806989eec14c08afac263601c6fd236402e.tar.gz
xine-lib-4df6e806989eec14c08afac263601c6fd236402e.tar.bz2
Make xv_check_capability accept constant strings.
-rw-r--r--src/video_out/video_out_xv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_out/video_out_xv.c b/src/video_out/video_out_xv.c
index 208e8600f..d6419c00b 100644
--- a/src/video_out/video_out_xv.c
+++ b/src/video_out/video_out_xv.c
@@ -1030,9 +1030,9 @@ static int xv_check_yv12 (Display *display, XvPortID port) {
static void xv_check_capability (xv_driver_t *this,
int property, XvAttribute attr,
int base_id,
- char *config_name,
- char *config_desc,
- char *config_help) {
+ const char *config_name,
+ const char *config_desc,
+ const char *config_help) {
int int_default;
cfg_entry_t *entry;
char *str_prop = attr.name;