diff options
author | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-15 17:50:10 +0000 |
---|---|---|
committer | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-15 17:50:10 +0000 |
commit | 41014a19fb274dd25a1add8d626fc77b2263ad9d (patch) | |
tree | 474c4ee6f5b7375e1b400e7d1b1554bea4ca33e2 /stream | |
parent | 1749b99907d9d32dff13949ec9cd82b995a99d48 (diff) | |
download | mpv-41014a19fb274dd25a1add8d626fc77b2263ad9d.tar.bz2 mpv-41014a19fb274dd25a1add8d626fc77b2263ad9d.tar.xz |
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
Diffstat (limited to 'stream')
-rw-r--r-- | stream/stream_dvdnav.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stream/stream_dvdnav.c b/stream/stream_dvdnav.c index 59cb7c66f2..5ad6625514 100644 --- a/stream/stream_dvdnav.c +++ b/stream/stream_dvdnav.c @@ -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; } |