comparison libmpcodecs/dec_video.c @ 25224:abb784e37907

get/set video colors string is constant
author reimar
date Sun, 02 Dec 2007 15:23:14 +0000
parents 76f5d8892c04
children 054ec3ddc5e1
comparison
equal deleted inserted replaced
25223:578feac808bd 25224:abb784e37907
73 } 73 }
74 if(mpvdec) 74 if(mpvdec)
75 mpvdec->control(sh_video,VDCTRL_SET_PP_LEVEL, (void*)(&quality)); 75 mpvdec->control(sh_video,VDCTRL_SET_PP_LEVEL, (void*)(&quality));
76 } 76 }
77 77
78 int set_video_colors(sh_video_t *sh_video,char *item,int value) 78 int set_video_colors(sh_video_t *sh_video,const char *item,int value)
79 { 79 {
80 vf_instance_t* vf=sh_video->vfilter; 80 vf_instance_t* vf=sh_video->vfilter;
81 vf_equalizer_t data; 81 vf_equalizer_t data;
82 82
83 data.item = item; 83 data.item = item;
96 == CONTROL_OK) return 1; 96 == CONTROL_OK) return 1;
97 mp_msg(MSGT_DECVIDEO,MSGL_V,MSGTR_VideoAttributeNotSupportedByVO_VD,item); 97 mp_msg(MSGT_DECVIDEO,MSGL_V,MSGTR_VideoAttributeNotSupportedByVO_VD,item);
98 return 0; 98 return 0;
99 } 99 }
100 100
101 int get_video_colors(sh_video_t *sh_video,char *item,int *value) 101 int get_video_colors(sh_video_t *sh_video,const char *item,int *value)
102 { 102 {
103 vf_instance_t* vf=sh_video->vfilter; 103 vf_instance_t* vf=sh_video->vfilter;
104 vf_equalizer_t data; 104 vf_equalizer_t data;
105 105
106 data.item = item; 106 data.item = item;