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

nicodvb subversion at mplayerhq.hu
Fri Sep 15 19:50:13 CEST 2006


Author: nicodvb
Date: Fri Sep 15 19:50:10 2006
New Revision: 19846

Modified:
   trunk/stream/stream_dvdnav.c

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

Modified: trunk/stream/stream_dvdnav.c
==============================================================================
--- trunk/stream/stream_dvdnav.c	(original)
+++ trunk/stream/stream_dvdnav.c	Fri Sep 15 19:50:10 2006
@@ -473,7 +473,8 @@
       break;
   }
 
-  dvdnav_get_current_highlight(nav, button);
+  if(status == DVDNAV_STATUS_OK)
+      dvdnav_get_current_highlight(nav, button);
 
   return reset;
 }



More information about the MPlayer-cvslog mailing list