summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvd.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_dvd.c')
-rw-r--r--stream/stream_dvd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c
index aee0f33c78..c94e9090e8 100644
--- a/stream/stream_dvd.c
+++ b/stream/stream_dvd.c
@@ -769,6 +769,7 @@ static int open_s(stream_t *stream,int mode, void* opts, int* file_format) {
* 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 mode, void* opts, int* file_format) {
return STREAM_UNSUPORTED;
}
}
- dvd_set_speed(dvd_device, dvd_speed);
mp_msg(MSGT_OPEN,MSGL_V,"Reading disc structure, please wait...\n");