1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 15:52:25 +00:00

get/set video colors string is constant

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25252 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-12-02 15:23:14 +00:00
parent eff331a805
commit 41ac28984c
3 changed files with 6 additions and 6 deletions

View File

@ -41,8 +41,8 @@ extern int vo_gamma_brightness;
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;

View File

@ -75,7 +75,7 @@ void set_video_quality(sh_video_t *sh_video,int quality){
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 @@ int set_video_colors(sh_video_t *sh_video,char *item,int value)
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;

View File

@ -14,8 +14,8 @@ extern int filter_video(sh_video_t *sh_video, void *frame, double pts);
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);