Mercurial > mplayer.hg
changeset 4390:fbbd612779af
DVD progress bar fix
author | arpi |
---|---|
date | Sun, 27 Jan 2002 19:23:43 +0000 |
parents | 94f9cef44fdb |
children | 6394c1e9e770 |
files | libmpdemux/open.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/open.c Sun Jan 27 19:08:35 2002 +0000 +++ b/libmpdemux/open.c Sun Jan 27 19:23:43 2002 +0000 @@ -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; }