Mercurial > mplayer.hg
changeset 25224:abb784e37907
get/set video colors string is constant
author | reimar |
---|---|
date | Sun, 02 Dec 2007 15:23:14 +0000 |
parents | 578feac808bd |
children | 51c23a18a17b |
files | gui/win32/dialogs.c libmpcodecs/dec_video.c libmpcodecs/dec_video.h |
diffstat | 3 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/win32/dialogs.c Sun Dec 02 15:22:06 2007 +0000 +++ b/gui/win32/dialogs.c Sun Dec 02 15:23:14 2007 +0000 @@ -41,8 +41,8 @@ extern int vo_gamma_saturation; extern int vo_gamma_contrast; extern int vo_gamma_hue; -extern int set_video_colors(sh_video_t *sh_video, char *item, int value); -extern int get_video_colors(sh_video_t *sh_video, char *item, int *value); +extern int set_video_colors(sh_video_t *sh_video, const char *item, int value); +extern int get_video_colors(sh_video_t *sh_video, const char *item, int *value); guiInterface_t guiIntfStruct; int addurl = 0;
--- a/libmpcodecs/dec_video.c Sun Dec 02 15:22:06 2007 +0000 +++ b/libmpcodecs/dec_video.c Sun Dec 02 15:23:14 2007 +0000 @@ -75,7 +75,7 @@ mpvdec->control(sh_video,VDCTRL_SET_PP_LEVEL, (void*)(&quality)); } -int set_video_colors(sh_video_t *sh_video,char *item,int value) +int set_video_colors(sh_video_t *sh_video,const char *item,int value) { vf_instance_t* vf=sh_video->vfilter; vf_equalizer_t data; @@ -98,7 +98,7 @@ return 0; } -int get_video_colors(sh_video_t *sh_video,char *item,int *value) +int get_video_colors(sh_video_t *sh_video,const char *item,int *value) { vf_instance_t* vf=sh_video->vfilter; vf_equalizer_t data;
--- a/libmpcodecs/dec_video.h Sun Dec 02 15:22:06 2007 +0000 +++ b/libmpcodecs/dec_video.h Sun Dec 02 15:23:14 2007 +0000 @@ -14,8 +14,8 @@ extern int get_video_quality_max(sh_video_t *sh_video); extern void set_video_quality(sh_video_t *sh_video,int quality); -extern int get_video_colors(sh_video_t *sh_video,char *item,int *value); -extern int set_video_colors(sh_video_t *sh_video,char *item,int value); +extern int get_video_colors(sh_video_t *sh_video,const char *item,int *value); +extern int set_video_colors(sh_video_t *sh_video,const char *item,int value); extern int set_rectangle(sh_video_t *sh_video,int param,int value); extern void resync_video_stream(sh_video_t *sh_video); extern int get_current_video_decoder_lag(sh_video_t *sh_video);