From 5bcef8f16be025a081a7379a67a4da5d83b0a96e Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 29 Jul 2007 14:42:07 +0000 Subject: Make the vcd seek and get track end functions actually have an effect git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23914 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/vcd_read_darwin.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'stream/vcd_read_darwin.h') diff --git a/stream/vcd_read_darwin.h b/stream/vcd_read_darwin.h index d722b8d65b..4a66b5d823 100644 --- a/stream/vcd_read_darwin.h +++ b/stream/vcd_read_darwin.h @@ -56,6 +56,7 @@ int vcd_seek_to_track(mp_vcd_priv_t* vcd, int track) 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, int track) 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); } -- cgit v1.2.3