changeset 115:b527b7cbfb19 src

fix seek detection
author mroi
date Mon, 24 Feb 2003 18:19:27 +0000
parents b6834e6359cf
children 4d711d0518e9
files dvdnav.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dvdnav.c	Thu Feb 20 15:32:21 2003 +0000
+++ b/dvdnav.c	Mon Feb 24 18:19:27 2003 +0000
@@ -412,7 +412,7 @@
 #ifdef LOG_DEBUG
     fprintf(MSG_OUT, "libdvdnav: HOP_CHANNEL\n");
 #endif
-    if (this->position_next.hop_channel > HOP_SEEK) {
+    if (this->position_next.hop_channel - this->position_current.hop_channel >= HOP_SEEK) {
       int num_angles = 0, current;
       
       /* we seeked -> check for multiple angles */
@@ -957,6 +957,9 @@
 
 /*
  * $Log$
+ * Revision 1.41  2003/02/24 18:19:27  mroi
+ * fix seek detection
+ *
  * Revision 1.40  2003/02/20 15:32:15  mroi
  * big libdvdnav cleanup, quoting the ChangeLog:
  *   * some bugfixes