summaryrefslogtreecommitdiffstats
path: root/stream/vcd_read_darwin.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-07-29 14:42:07 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-07-29 14:42:07 +0000
commit5bcef8f16be025a081a7379a67a4da5d83b0a96e (patch)
treeb3adb083523edde971066f054f528422453e9066 /stream/vcd_read_darwin.h
parentb24ff812462c8d6fc729fbdcd3b9fba916252133 (diff)
downloadmpv-5bcef8f16be025a081a7379a67a4da5d83b0a96e.tar.bz2
mpv-5bcef8f16be025a081a7379a67a4da5d83b0a96e.tar.xz
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
Diffstat (limited to 'stream/vcd_read_darwin.h')
-rw-r--r--stream/vcd_read_darwin.h2
1 files changed, 2 insertions, 0 deletions
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);
}