comparison dvdnav.c @ 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 5204d4e4cd3b
children e375b765ebf5
comparison
equal deleted inserted replaced
140:33d6bb570dcb 141:8f63f4c25f2f
469 /* update VM state */ 469 /* update VM state */
470 this->vm->state.blockN = this->vobu.vobu_start - this->position_next.cell_start; 470 this->vm->state.blockN = this->vobu.vobu_start - this->position_next.cell_start;
471 } 471 }
472 } 472 }
473 this->position_current.hop_channel = this->position_next.hop_channel; 473 this->position_current.hop_channel = this->position_next.hop_channel;
474 /* update VOBU info */
475 this->vobu.vobu_start = this->position_next.cell_start + this->position_next.block;
476 this->vobu.vobu_next = 0;
474 /* Make blockN == vobu_length to do expected_nav */ 477 /* Make blockN == vobu_length to do expected_nav */
475 this->vobu.vobu_length = 0; 478 this->vobu.vobu_length = 0;
476 this->vobu.blockN = 0; 479 this->vobu.blockN = 0;
477 this->sync_wait = 0; 480 this->sync_wait = 0;
478 pthread_mutex_unlock(&this->vm_lock); 481 pthread_mutex_unlock(&this->vm_lock);
1016 return this->position_next.still; 1019 return this->position_next.still;
1017 } 1020 }
1018 1021
1019 /* 1022 /*
1020 * $Log$ 1023 * $Log$
1024 * Revision 1.48 2003/03/31 13:48:36 mroi
1025 * update position on HOP_CHANNEL, do not rely on a following CELL_CHANGE
1026 *
1021 * Revision 1.47 2003/03/26 14:37:22 mroi 1027 * Revision 1.47 2003/03/26 14:37:22 mroi
1022 * I should get a brain and learn how to handle BCD... 1028 * I should get a brain and learn how to handle BCD...
1023 * also fixing a possible mis-jump with angled cells 1029 * also fixing a possible mis-jump with angled cells
1024 * 1030 *
1025 * Revision 1.46 2003/03/25 12:46:26 mroi 1031 * Revision 1.46 2003/03/25 12:46:26 mroi