[MPlayer-cvslog] r25252 - in trunk: gui/win32/dialogs.c libmpcodecs/dec_video.c libmpcodecs/dec_video.h

reimar subversion at mplayerhq.hu
Sun Dec 2 16:23:14 CET 2007


Author: reimar
Date: Sun Dec  2 16:23:14 2007
New Revision: 25252

Log:
get/set video colors string is constant


Modified:
   trunk/gui/win32/dialogs.c
   trunk/libmpcodecs/dec_video.c
   trunk/libmpcodecs/dec_video.h

Modified: trunk/gui/win32/dialogs.c
==============================================================================
--- trunk/gui/win32/dialogs.c	(original)
+++ trunk/gui/win32/dialogs.c	Sun Dec  2 16:23:14 2007
@@ -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;

Modified: trunk/libmpcodecs/dec_video.c
==============================================================================
--- trunk/libmpcodecs/dec_video.c	(original)
+++ trunk/libmpcodecs/dec_video.c	Sun Dec  2 16:23:14 2007
@@ -75,7 +75,7 @@ void set_video_quality(sh_video_t *sh_vi
     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_vide
     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;

Modified: trunk/libmpcodecs/dec_video.h
==============================================================================
--- trunk/libmpcodecs/dec_video.h	(original)
+++ trunk/libmpcodecs/dec_video.h	Sun Dec  2 16:23:14 2007
@@ -14,8 +14,8 @@ extern int filter_video(sh_video_t *sh_v
 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);



More information about the MPlayer-cvslog mailing list