mirror of https://github.com/mpv-player/mpv
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:
parent
1749b99907
commit
41014a19fb
|
@ -473,6 +473,7 @@ int mp_dvdnav_handle_input(stream_t *stream, int cmd, int *button) {
|
|||
break;
|
||||
}
|
||||
|
||||
if(status == DVDNAV_STATUS_OK)
|
||||
dvdnav_get_current_highlight(nav, button);
|
||||
|
||||
return reset;
|
||||
|
|
Loading…
Reference in New Issue