diff options
author | wm4 <wm4@nowhere> | 2014-06-10 22:09:27 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-06-11 00:39:06 +0200 |
commit | 35e6d1abe0315caee3f21ca3853d76423baa0c91 (patch) | |
tree | e17f0f7f035cf8c5ee3cd5aab741bddc1a134b36 /stream/stream_dvd_common.c | |
parent | 959b718957527710b4bcf6e7227a0beaeb034137 (diff) | |
download | mpv-35e6d1abe0315caee3f21ca3853d76423baa0c91.tar.bz2 mpv-35e6d1abe0315caee3f21ca3853d76423baa0c91.tar.xz |
stream_dvd, stream_dvdnav, stream_bluray: remove global option variables
Diffstat (limited to 'stream/stream_dvd_common.c')
-rw-r--r-- | stream/stream_dvd_common.c | 3 |
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 */ |