in mp_dvdnav_handle_input() update current button only if the status of the previous operation succeeded; patch by Jonas Jermann

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19846 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nicodvb 2006-09-15 17:50:10 +00:00
parent 1749b99907
commit 41014a19fb
1 changed files with 2 additions and 1 deletions

View File

@ -473,7 +473,8 @@ int mp_dvdnav_handle_input(stream_t *stream, int cmd, int *button) {
break;
}
dvdnav_get_current_highlight(nav, button);
if(status == DVDNAV_STATUS_OK)
dvdnav_get_current_highlight(nav, button);
return reset;
}