Mercurial > mplayer.hg
changeset 19836:9470f7630ee4
when cmd == MP_CMD_DVDNAV_SELECT set reset=1 only if dvdnav_button_activate() succeeds, to avoid unneeded resets in main()
author | nicodvb |
---|---|
date | Fri, 15 Sep 2006 17:18:47 +0000 |
parents | 807cdfafa0ce |
children | e507a91a37ed |
files | stream/stream_dvdnav.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/stream/stream_dvdnav.c Fri Sep 15 16:26:25 2006 +0000 +++ b/stream/stream_dvdnav.c Fri Sep 15 17:18:47 2006 +0000 @@ -478,7 +478,7 @@ break; case MP_CMD_DVDNAV_SELECT: status = dvdnav_button_activate(nav, pci); - reset = 1; + if(status == DVDNAV_STATUS_OK) reset = 1; break; default: mp_msg(MSGT_CPLAYER, MSGL_V, "Unknown DVDNAV cmd %d\n", cmd);