[MPlayer-cvslog] r25597 - trunk/stream/stream_dvd.c

nicodvb subversion at mplayerhq.hu
Sat Jan 5 11:48:17 CET 2008


Author: nicodvb
Date: Sat Jan  5 11:48:17 2008
New Revision: 25597

Log:
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


Modified:
   trunk/stream/stream_dvd.c

Modified: trunk/stream/stream_dvd.c
==============================================================================
--- trunk/stream/stream_dvd.c	(original)
+++ trunk/stream/stream_dvd.c	Sat Jan  5 11:48:17 2008
@@ -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:



More information about the MPlayer-cvslog mailing list