diff options
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1560,7 +1560,7 @@ _jump1: if(osd_level){ osd_visible=sh_video->fps; // 1 sec vo_osd_progbar_type=OSD_VOLUME; - vo_osd_progbar_value=(mixer_l+mixer_r)*5/4; + vo_osd_progbar_value=(mixer_l+mixer_r)*255/200; //printf("volume: %d\n",vo_osd_progbar_value); } #endif @@ -1583,7 +1583,7 @@ _jump1: if(osd_level){ osd_visible=sh_video->fps; // 1 sec vo_osd_progbar_type=OSD_CONTRAST; - vo_osd_progbar_value=(v_cont)*10/4; + vo_osd_progbar_value=(v_cont)*255/100; } #endif } @@ -1602,7 +1602,7 @@ _jump1: if(osd_level){ osd_visible=sh_video->fps; // 1 sec vo_osd_progbar_type=OSD_BRIGHTNESS; - vo_osd_progbar_value=(v_bright)*10/4; + vo_osd_progbar_value=(v_bright)*255/100; } #endif } @@ -1621,7 +1621,7 @@ _jump1: if(osd_level){ osd_visible=sh_video->fps; // 1 sec vo_osd_progbar_type=OSD_HUE; - vo_osd_progbar_value=(v_hue)*10/4; + vo_osd_progbar_value=(v_hue)*255/100; } #endif } @@ -1640,7 +1640,7 @@ _jump1: if(osd_level){ osd_visible=sh_video->fps; // 1 sec vo_osd_progbar_type=OSD_SATURATION; - vo_osd_progbar_value=(v_saturation)*10/4; + vo_osd_progbar_value=(v_saturation)*255/100; } #endif } |