# HG changeset patch # User mroi # Date 1068486413 0 # Node ID b8a17ff7f989070e5c257baa40a869ae1bbf318b # Parent 2399181ad7d925c47b31282db6d3392fe740be00 finally a disc with a PGC still, current code seems to work, so the assertion can go diff -r 2399181ad7d9 -r b8a17ff7f989 vm.c --- a/vm.c Tue Oct 07 14:53:29 2003 +0000 +++ b/vm.c Mon Nov 10 17:46:53 2003 +0000 @@ -430,7 +430,7 @@ position->block = (vm->state).blockN; /* handle PGC stills at PGC end */ - if ((vm->state).cellN == (vm->state).pgc->nr_of_cells && (vm->state).pgc->still_time) + if ((vm->state).cellN == (vm->state).pgc->nr_of_cells) position->still += (vm->state).pgc->still_time; /* still already determined */ if (position->still) @@ -986,9 +986,6 @@ fprintf(MSG_OUT, "libdvdnav: play_PGC_post:\n"); #endif - /* FIXME: Implement PGC Stills. Currently only Cell stills work */ - assert((vm->state).pgc->still_time == 0); - /* eval -> updates the state and returns either - some kind of jump (Jump(TT/SS/VTS_TTN/CallSS/link C/PG/PGC/PTTN) - just go to next PGC @@ -1652,13 +1649,6 @@ pb_ty = &vm->vmgi->tt_srpt->title[(vm->state).TTN_REG - 1].pb_ty; if(pb_ty->multi_or_random_pgc_title == /* One_Sequential_PGC_Title */ 0) { int dummy, part; -#if 0 - /* TTN_REG can't be trusted to have a correct value here... */ - vts_ptt_srpt_t *ptt_srpt = vtsi->vts_ptt_srpt; - assert((vm->state).VTS_TTN_REG <= ptt_srpt->nr_of_srpts); - assert(get_PGCN() == ptt_srpt->title[(vm->state).VTS_TTN_REG - 1].ptt[0].pgcn); - assert(1 == ptt_srpt->title[(vm->state).VTS_TTN_REG - 1].ptt[0].pgn); -#endif vm_get_current_title_part(vm, &dummy, &part); (vm->state).PTTN_REG = part; } else {