1 # the bit tested here does not indicate 'random or shuffle' - it only says
2 # that the title uses multiple PGCs. Since libdvdnav mostly deals correctly
3 # with mult PGC titles (modulo some weirdness when seeking) we need the
4 # state to get set correctly.
5 --- libdvdnav/src/vm/vm.c.orig 2009-05-13 20:44:12.000000000 -0700
6 +++ libdvdnav/src/vm/vm.c 2009-05-13 20:46:02.000000000 -0700
7 @@ -1758,14 +1758,10 @@
8 if((vm->state).TTN_REG > vm->vmgi->tt_srpt->nr_of_srpts)
10 pb_ty = &vm->vmgi->tt_srpt->title[(vm->state).TTN_REG - 1].pb_ty;
11 - if(pb_ty->multi_or_random_pgc_title == /* One_Sequential_PGC_Title */ 0) {
14 vm_get_current_title_part(vm, &dummy, &part);
15 (vm->state).PTTN_REG = part;
17 - /* FIXME: Handle RANDOM or SHUFFLE titles. */
18 - fprintf(MSG_OUT, "libdvdnav: RANDOM or SHUFFLE titles are NOT handled yet.\n");