# HG changeset patch # User nicodvb # Date 1201642703 0 # Node ID 36bc17c090a6fe637a74457ff37482ea80410392 # Parent feb0f4e3c81f33fca0e0abfefdf177c343bae2e3 show dvdnav selection in the OSD only when the osd_level>1; patch by foxcore gmail com diff -r feb0f4e3c81f -r 36bc17c090a6 command.c --- a/command.c Tue Jan 29 19:05:36 2008 +0000 +++ b/command.c Tue Jan 29 21:38:23 2008 +0000 @@ -3098,7 +3098,7 @@ pointer_y = (int) (dy * (double) sh_video->disp_h); mp_dvdnav_update_mouse_pos(mpctx->stream, pointer_x, pointer_y, &button); - if (button > 0) + if (osd_level > 1 && button > 0) set_osd_msg(OSD_MSG_TEXT, 1, osd_duration, "Selected button number %d", button); } @@ -3117,7 +3117,7 @@ break; mp_dvdnav_handle_input(mpctx->stream,cmd->args[0].v.i,&button); - if (button > 0) + if (osd_level > 1 && button > 0) set_osd_msg(OSD_MSG_TEXT, 1, osd_duration, "Selected button number %d", button); }