Update of /cvsroot/mplayer/main In directory mail:/var/tmp.root/cvs-serv28191 Modified Files: mplayer.c Log Message: dvd chapter detect function from Gregory Kovriga Index: mplayer.c =================================================================== RCS file: /cvsroot/mplayer/main/mplayer.c,v retrieving revision 1.598 retrieving revision 1.599 diff -u -r1.598 -r1.599 --- mplayer.c 19 Oct 2002 20:26:02 -0000 1.598 +++ mplayer.c 22 Oct 2002 22:45:25 -0000 1.599 @@ -2565,7 +2565,8 @@ if ( stream->type == STREAMTYPE_DVD ) { dvd_priv_t * dvdp = stream->priv; - guiIntfStruct.DVD.current_chapter=dvdp->cur_cell + 1; + /*guiIntfStruct.DVD.current_chapter=dvdp->cur_cell + 1;*/ + guiIntfStruct.DVD.current_chapter=dvd_chapter_from_cell(dvdp,guiIntfStruct.DVD.current_title-1, dvdp->cur_cell)+1; } #endif }