Mercurial > mplayer.hg
changeset 24094:c89888cdfcd3
Set DVD speed earlier to avoid drive spinup during open
author | reimar |
---|---|
date | Tue, 21 Aug 2007 12:38:45 +0000 |
parents | e0b1c50aa9bd |
children | cda2c4f38003 |
files | stream/stream_dvd.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/stream/stream_dvd.c Tue Aug 21 07:27:05 2007 +0000 +++ b/stream/stream_dvd.c Tue Aug 21 12:38:45 2007 +0000 @@ -769,6 +769,7 @@ * 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 @@ return STREAM_UNSUPORTED; } } - dvd_set_speed(dvd_device, dvd_speed); mp_msg(MSGT_OPEN,MSGL_V,"Reading disc structure, please wait...\n");