[MPlayer-dev-eng] [PATCH] dvdnav
    Ötvös Attila 
    oattila at chello.hu
       
    Wed Dec 21 23:55:11 CET 2005
    
    
  
2005. december 21. 18.21 dátummal Benjamin Zores ezt írta:
> Whatever, i've tested the patch quickly and it appears the following :
> - first dvd i've tried : the menu is displayed but once reached, instead of
> displaying a still picture waiting for user interaction, the stream
> continues and so does the movie begin to play. - second dvd i've tried :
> the dvd fbi bullshit warning si displayed and once it should have reached
> the main menu, dvdnav receives a DVDNAV_STOP event and then MPlayer quits.
if append "#define TRACE" line on libmpdvdkit2\dvdnav_internal.h then print 
message most likely:
libdvdnav: play_Cell_post: (vm->state).cellN (1)
libdvdnav: last cell in this PGC
libdvdnav: play_PGC_post:
libdvdnav: ** Fell of the end of the pgc, continuing in NextPGC
libdvdnav:  ** No such pgcN = 0
libdvdnav: Before printout starts:
libdvdnav: Exit
libmpdvdkiv2/vm.c(1177):
-------------------------------
static link_t play_PGC_post(vm_t *vm) {
  link_t link_values;
...
printf("(vm->state).pgc->command_tbl: %p\n",(vm->state).pgc->command_tbl);
  if((vm->state).pgc->command_tbl && (vm->state).pgc->command_tbl->nr_of_post 
&&  vmEval_CMD((vm->state).pgc->command_tbl->post_cmds,
		(vm->state).pgc->command_tbl->nr_of_post, 
		&(vm->state).registers, &link_values)) {
    return link_values;
  }
...  
  /* Should end up in the STOP_DOMAIN if next_pgc is 0. */
  if(!set_PGCN(vm, (vm->state).pgc->next_pgc_nr)) {
    link_values.command = Exit;
    return link_values;
  }
  return play_PGC(vm);
}
most likely: (vm->state).pgc->command_tbl is NULL and 
(vm->state).pgc->next_pgc_nr is 0.
Why? I don't know. :-(
(I am sorry to say that my English knowledge isn't good.)
Best regards!
Attila
    
    
More information about the MPlayer-dev-eng
mailing list