summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvd_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_dvd_common.c')
-rw-r--r--stream/stream_dvd_common.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/stream/stream_dvd_common.c b/stream/stream_dvd_common.c
index 6c29d446c5..677b70a1bc 100644
--- a/stream/stream_dvd_common.c
+++ b/stream/stream_dvd_common.c
@@ -47,8 +47,6 @@
const char * const dvd_audio_stream_types[8] = { "ac3","unknown","mpeg1","mpeg2ext","lpcm","unknown","dts" };
const char * const dvd_audio_stream_channels[6] = { "mono", "stereo", "unknown", "unknown", "5.1/6.1", "5.1" };
-int dvd_speed=0; /* 0 => don't touch speed */
-
void dvd_set_speed(stream_t *stream, char *device, unsigned speed)
{
#if defined(__linux__) && defined(SG_IO) && defined(GPCMD_SET_STREAMING)
@@ -68,7 +66,6 @@ void dvd_set_speed(stream_t *stream, char *device, unsigned speed)
case 0: /* don't touch speed setting */
return;
case -1: /* restore default value */
- if (dvd_speed == 0) return; /* we haven't touched the speed setting */
MP_INFO(stream, "Restoring DVD speed... ");
break;
default: /* limit to <speed> KB/s */