Mercurial > libdvdnav.hg
comparison dvdnav.c @ 127:f2e86078a5dc src
start blockN from 0
author | mroi |
---|---|
date | Sat, 15 Mar 2003 20:18:50 +0000 |
parents | 42d06bc1251d |
children | d9d75a22a061 |
comparison
equal
deleted
inserted
replaced
126:42d06bc1251d | 127:f2e86078a5dc |
---|---|
446 /* update VM state */ | 446 /* update VM state */ |
447 this->vm->state.blockN = this->vobu.vobu_start - this->position_next.cell_start; | 447 this->vm->state.blockN = this->vobu.vobu_start - this->position_next.cell_start; |
448 } | 448 } |
449 } | 449 } |
450 this->position_current.hop_channel = this->position_next.hop_channel; | 450 this->position_current.hop_channel = this->position_next.hop_channel; |
451 /* Make blockN > vobu_length to do expected_nav */ | 451 /* Make blockN == vobu_length to do expected_nav */ |
452 this->vobu.vobu_length = 0; | 452 this->vobu.vobu_length = 0; |
453 this->vobu.blockN = 1; | 453 this->vobu.blockN = 0; |
454 this->sync_wait = 0; | 454 this->sync_wait = 0; |
455 pthread_mutex_unlock(&this->vm_lock); | 455 pthread_mutex_unlock(&this->vm_lock); |
456 return S_OK; | 456 return S_OK; |
457 } | 457 } |
458 | 458 |
568 this->position_current.block = this->position_next.block; | 568 this->position_current.block = this->position_next.block; |
569 | 569 |
570 /* vobu info is used for mid cell resumes */ | 570 /* vobu info is used for mid cell resumes */ |
571 this->vobu.vobu_start = this->position_next.cell_start + this->position_next.block; | 571 this->vobu.vobu_start = this->position_next.cell_start + this->position_next.block; |
572 this->vobu.vobu_next = 0; | 572 this->vobu.vobu_next = 0; |
573 /* Make blockN > vobu_length to do expected_nav */ | 573 /* Make blockN == vobu_length to do expected_nav */ |
574 this->vobu.vobu_length = 0; | 574 this->vobu.vobu_length = 0; |
575 this->vobu.blockN = 1; | 575 this->vobu.blockN = 0; |
576 | 576 |
577 /* update the spu palette at least on PGC changes */ | 577 /* update the spu palette at least on PGC changes */ |
578 this->spu_clut_changed = 1; | 578 this->spu_clut_changed = 1; |
579 this->position_current.spu_channel = -1; /* Force an update */ | 579 this->position_current.spu_channel = -1; /* Force an update */ |
580 this->position_current.audio_channel = -1; /* Force an update */ | 580 this->position_current.audio_channel = -1; /* Force an update */ |
978 return this->position_next.still; | 978 return this->position_next.still; |
979 } | 979 } |
980 | 980 |
981 /* | 981 /* |
982 * $Log$ | 982 * $Log$ |
983 * Revision 1.45 2003/03/15 20:18:50 mroi | |
984 * start blockN from 0 | |
985 * | |
983 * Revision 1.44 2003/03/14 18:49:28 mroi | 986 * Revision 1.44 2003/03/14 18:49:28 mroi |
984 * less overwhelming TRACE info | 987 * less overwhelming TRACE info |
985 * | 988 * |
986 * Revision 1.43 2003/03/12 11:38:51 mroi | 989 * Revision 1.43 2003/03/12 11:38:51 mroi |
987 * stop the VM here | 990 * stop the VM here |