[Mplayer-cvslog] CVS: main/libmpdemux open.c,1.35,1.36

Arpi of Ize arpi at mplayer.dev.hu
Sun Jan 27 20:23:46 CET 2002


Update of /cvsroot/mplayer/main/libmpdemux
In directory mplayer:/var/tmp.root/cvs-serv4423

Modified Files:
	open.c 
Log Message:
DVD progress bar fix

Index: open.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/open.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- open.c	25 Jan 2002 12:54:52 -0000	1.35
+++ open.c	27 Jan 2002 19:23:43 -0000	1.36
@@ -345,7 +345,8 @@
 //    return NULL;
   stream=new_stream(-1,STREAMTYPE_DVD);
   stream->start_pos=(off_t)d->cur_pack*2048;
-  //stream->end_pos=0;
+  stream->end_pos=(off_t)(d->cur_pgc->cell_playback[d->last_cell-1].last_sector)*2048;
+  printf("DVD start=%d end=%d  \n",d->cur_pack,d->cur_pgc->cell_playback[d->last_cell-1].last_sector);
   stream->priv=(void*)d;
   return stream;
 }




More information about the MPlayer-cvslog mailing list