[MPlayer-cvslog] r23914 - trunk/stream/vcd_read_darwin.h

reimar subversion at mplayerhq.hu
Sun Jul 29 16:42:07 CEST 2007


Author: reimar
Date: Sun Jul 29 16:42:07 2007
New Revision: 23914

Log:
Make the vcd seek and get track end functions actually have an effect


Modified:
   trunk/stream/vcd_read_darwin.h

Modified: trunk/stream/vcd_read_darwin.h
==============================================================================
--- trunk/stream/vcd_read_darwin.h	(original)
+++ trunk/stream/vcd_read_darwin.h	Sun Jul 29 16:42:07 2007
@@ -56,6 +56,7 @@ int vcd_seek_to_track(mp_vcd_priv_t* vcd
 		mp_msg(MSGT_STREAM,MSGL_ERR,"ioctl dif1: %s\n",strerror(errno));
 		return -1;
 	}
+	vcd->msf = CDConvertLBAToMSF(entry.trackStartAddress);
 	return VCD_SECTOR_DATA*vcd_get_msf(vcd);
 }
 
@@ -89,6 +90,7 @@ int vcd_get_track_end(mp_vcd_priv_t* vcd
 		mp_msg(MSGT_STREAM,MSGL_ERR,"ioctl dif2: %s\n",strerror(errno));
 		return -1;
 	}
+	vcd->msf = CDConvertLBAToMSF(entry.trackStartAddress);
 	return VCD_SECTOR_DATA*vcd_get_msf(vcd);
 }
 



More information about the MPlayer-cvslog mailing list