changeset 127:f2e86078a5dc src

start blockN from 0
author mroi
date Sat, 15 Mar 2003 20:18:50 +0000
parents 42d06bc1251d
children 69e1755625a1
files dvdnav.c
diffstat 1 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/dvdnav.c	Fri Mar 14 18:49:28 2003 +0000
+++ b/dvdnav.c	Sat Mar 15 20:18:50 2003 +0000
@@ -448,9 +448,9 @@
       }
     }
     this->position_current.hop_channel = this->position_next.hop_channel;
-    /* Make blockN > vobu_length to do expected_nav */
+    /* Make blockN == vobu_length to do expected_nav */
     this->vobu.vobu_length = 0;
-    this->vobu.blockN      = 1;
+    this->vobu.blockN      = 0;
     this->sync_wait        = 0;
     pthread_mutex_unlock(&this->vm_lock); 
     return S_OK;
@@ -570,9 +570,9 @@
     /* vobu info is used for mid cell resumes */
     this->vobu.vobu_start               = this->position_next.cell_start + this->position_next.block;
     this->vobu.vobu_next                = 0;
-    /* Make blockN > vobu_length to do expected_nav */
+    /* Make blockN == vobu_length to do expected_nav */
     this->vobu.vobu_length = 0;
-    this->vobu.blockN      = 1;
+    this->vobu.blockN      = 0;
     
     /* update the spu palette at least on PGC changes */
     this->spu_clut_changed = 1;
@@ -980,6 +980,9 @@
 
 /*
  * $Log$
+ * Revision 1.45  2003/03/15 20:18:50  mroi
+ * start blockN from 0
+ *
  * Revision 1.44  2003/03/14 18:49:28  mroi
  * less overwhelming TRACE info
  *