[MPlayer-cvslog] r25915 - trunk/command.c
nicodvb
subversion at mplayerhq.hu
Tue Jan 29 22:38:23 CET 2008
Author: nicodvb
Date: Tue Jan 29 22:38:23 2008
New Revision: 25915
Log:
show dvdnav selection in the OSD only when the osd_level>1; patch by foxcore gmail com
Modified:
trunk/command.c
Modified: trunk/command.c
==============================================================================
--- trunk/command.c (original)
+++ trunk/command.c Tue Jan 29 22:38:23 2008
@@ -3098,7 +3098,7 @@ int run_command(MPContext * mpctx, mp_cm
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 @@ int run_command(MPContext * mpctx, mp_cm
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);
}
More information about the MPlayer-cvslog
mailing list