Mercurial > mplayer.hg
comparison libvo/vo_directx.c @ 33592:0d3ac97aed92
Add const to avoid compiler warning.
author | reimar |
---|---|
date | Sun, 19 Jun 2011 19:05:39 +0000 |
parents | d336a7b03220 |
children | 835841f89315 |
comparison
equal
deleted
inserted
replaced
33591:d336a7b03220 | 33592:0d3ac97aed92 |
---|---|
1060 //function to set color controls | 1060 //function to set color controls |
1061 // brightness [0, 10000] | 1061 // brightness [0, 10000] |
1062 // contrast [0, 20000] | 1062 // contrast [0, 20000] |
1063 // hue [-180, 180] | 1063 // hue [-180, 180] |
1064 // saturation [0, 20000] | 1064 // saturation [0, 20000] |
1065 static uint32_t color_ctrl_set(char *what, int value) | 1065 static uint32_t color_ctrl_set(const char *what, int value) |
1066 { | 1066 { |
1067 uint32_t r = VO_NOTIMPL; | 1067 uint32_t r = VO_NOTIMPL; |
1068 DDCOLORCONTROL dcc; | 1068 DDCOLORCONTROL dcc; |
1069 //printf("\n*** %s = %d\n", what, value); | 1069 //printf("\n*** %s = %d\n", what, value); |
1070 if (!g_cc) { | 1070 if (!g_cc) { |
1097 } | 1097 } |
1098 return r; | 1098 return r; |
1099 } | 1099 } |
1100 | 1100 |
1101 //analoguous to color_ctrl_set | 1101 //analoguous to color_ctrl_set |
1102 static uint32_t color_ctrl_get(char *what, int *value) | 1102 static uint32_t color_ctrl_get(const char *what, int *value) |
1103 { | 1103 { |
1104 uint32_t r = VO_NOTIMPL; | 1104 uint32_t r = VO_NOTIMPL; |
1105 DDCOLORCONTROL dcc; | 1105 DDCOLORCONTROL dcc; |
1106 if (!g_cc) { | 1106 if (!g_cc) { |
1107 //printf("\n *** could not get color control interface!!!\n"); | 1107 //printf("\n *** could not get color control interface!!!\n"); |