diff options
author | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-01-05 10:48:17 +0000 |
---|---|---|
committer | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-01-05 10:48:17 +0000 |
commit | 995e7b9e1c07778c93faa6d5f087e94f07d8bf82 (patch) | |
tree | 234acfc734d46ecaaa54aad45739647cfd383569 /stream | |
parent | 06b0571bf9e65fd55b81e908ad2920174bb9dbd3 (diff) | |
download | mpv-995e7b9e1c07778c93faa6d5f087e94f07d8bf82.tar.bz2 mpv-995e7b9e1c07778c93faa6d5f087e94f07d8bf82.tar.xz |
fixed bug when playing multi-angle titles: the address field in the agli data
of the current angle must be != 0x7fffffff to be skippable;
patch by oattila chello hu
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25597 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r-- | stream/stream_dvd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c index 4ce7aa6ee1..5b9be4a882 100644 --- a/stream/stream_dvd.c +++ b/stream/stream_dvd.c @@ -403,11 +403,12 @@ read_next: for(i=0;i<9;i++) // check if all values zero: if((skip=d->dsi_pack.sml_agli.data[i].address)!=0) break; #endif - if(skip) { + if(skip && skip!=0x7fffffff) { // sml_agli table has valid data (at least one non-zero): d->cur_pack=d->dsi_pack.dsi_gi.nv_pck_lbn+ d->dsi_pack.sml_agli.data[dvd_angle].address; d->angle_seek=0; + d->cur_pack--; mp_msg(MSGT_DVD,MSGL_V, "Angle-seek synced using sml_agli map! new_lba=0x%X \n",d->cur_pack); } else { // check if we're in the right cell, jump otherwise: |