diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-27 19:23:43 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-27 19:23:43 +0000 |
commit | 35201ca2957435a8ab11cb7091c5952d898d5a17 (patch) | |
tree | 0f6b835283e5faeca7c100f87a397f4bc0bda180 /libmpdemux | |
parent | 4e4b0bd41152e2eb2aadd7ce7b7d51821349606d (diff) |
DVD progress bar fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4391 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/open.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmpdemux/open.c b/libmpdemux/open.c index 214611e603..bf238fd7ac 100644 --- a/libmpdemux/open.c +++ b/libmpdemux/open.c @@ -345,7 +345,8 @@ if(dvd_title){ // 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; } |