[MPlayer-cvslog] r24114 - trunk/stream/stream_dvd.c
reimar
subversion at mplayerhq.hu
Tue Aug 21 14:38:46 CEST 2007
Author: reimar
Date: Tue Aug 21 14:38:45 2007
New Revision: 24114
Log:
Set DVD speed earlier to avoid drive spinup during open
Modified:
trunk/stream/stream_dvd.c
Modified: trunk/stream/stream_dvd.c
==============================================================================
--- trunk/stream/stream_dvd.c (original)
+++ trunk/stream/stream_dvd.c Tue Aug 21 14:38:45 2007
@@ -769,6 +769,7 @@ static int open_s(stream_t *stream,int m
* Open the disc.
*/
if(!dvd_device) dvd_device=strdup(DEFAULT_DVD_DEVICE);
+ dvd_set_speed(dvd_device, dvd_speed);
#ifdef SYS_DARWIN
/* Dynamic DVD drive selection on Darwin */
if(!strcmp(dvd_device, "/dev/rdiskN")) {
@@ -810,7 +811,6 @@ static int open_s(stream_t *stream,int m
return STREAM_UNSUPORTED;
}
}
- dvd_set_speed(dvd_device, dvd_speed);
mp_msg(MSGT_OPEN,MSGL_V,"Reading disc structure, please wait...\n");
More information about the MPlayer-cvslog
mailing list