changeset 141:8f63f4c25f2f src

update position on HOP_CHANNEL, do not rely on a following CELL_CHANGE
author mroi
date Mon, 31 Mar 2003 13:48:36 +0000
parents 33d6bb570dcb
children e375b765ebf5
files dvdnav.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dvdnav.c	Sun Mar 30 10:57:14 2003 +0000
+++ b/dvdnav.c	Mon Mar 31 13:48:36 2003 +0000
@@ -471,6 +471,9 @@
       }
     }
     this->position_current.hop_channel = this->position_next.hop_channel;
+    /* update VOBU info */
+    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 */
     this->vobu.vobu_length = 0;
     this->vobu.blockN      = 0;
@@ -1018,6 +1021,9 @@
 
 /*
  * $Log$
+ * Revision 1.48  2003/03/31 13:48:36  mroi
+ * update position on HOP_CHANNEL, do not rely on a following CELL_CHANGE
+ *
  * Revision 1.47  2003/03/26 14:37:22  mroi
  * I should get a brain and learn how to handle BCD...
  * also fixing a possible mis-jump with angled cells