mirror of
https://github.com/mpv-player/mpv
synced 2025-01-05 03:06:28 +01:00
consistency fix: OSD bar for gamma changes should only appear when gamma
changing gamma is supported (like all other equalizer controls). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16490 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4e60e039f5
commit
3bd4205297
@ -3120,7 +3120,7 @@ if (stream->type==STREAMTYPE_DVDNAV && dvd_nav_still)
|
||||
vo_gamma_gamma = 100;
|
||||
else if (vo_gamma_gamma < -100)
|
||||
vo_gamma_gamma = -100;
|
||||
set_video_colors(sh_video, "gamma", vo_gamma_gamma);
|
||||
if (set_video_colors(sh_video, "gamma", vo_gamma_gamma)){
|
||||
#ifdef USE_OSD
|
||||
if(osd_level){
|
||||
osd_visible=sh_video->fps; // 1 sec
|
||||
@ -3129,6 +3129,7 @@ if (stream->type==STREAMTYPE_DVDNAV && dvd_nav_still)
|
||||
vo_osd_changed(OSDTYPE_PROGBAR);
|
||||
}
|
||||
#endif // USE_OSD
|
||||
}
|
||||
} break;
|
||||
case MP_CMD_BRIGHTNESS : {
|
||||
int v = cmd->args[0].v.i, abs = cmd->args[1].v.i;
|
||||
|
Loading…
Reference in New Issue
Block a user