[MPlayer-cvslog] r19842 - trunk/stream/stream_dvdnav.c

nicodvb subversion at mplayerhq.hu
Fri Sep 15 19:18:47 CEST 2006


Author: nicodvb
Date: Fri Sep 15 19:18:47 2006
New Revision: 19842

Modified:
   trunk/stream/stream_dvdnav.c

Log:
when cmd == MP_CMD_DVDNAV_SELECT set reset=1 only if dvdnav_button_activate() succeeds, to avoid unneeded resets in main()

Modified: trunk/stream/stream_dvdnav.c
==============================================================================
--- trunk/stream/stream_dvdnav.c	(original)
+++ trunk/stream/stream_dvdnav.c	Fri Sep 15 19:18:47 2006
@@ -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);



More information about the MPlayer-cvslog mailing list