mirror of https://github.com/mpv-player/mpv
DVD progress bar fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4391 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4e4b0bd411
commit
35201ca295
|
@ -345,7 +345,8 @@ if(dvd_title){
|
||||||
// return NULL;
|
// return NULL;
|
||||||
stream=new_stream(-1,STREAMTYPE_DVD);
|
stream=new_stream(-1,STREAMTYPE_DVD);
|
||||||
stream->start_pos=(off_t)d->cur_pack*2048;
|
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;
|
stream->priv=(void*)d;
|
||||||
return stream;
|
return stream;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue