From 35e6d1abe0315caee3f21ca3853d76423baa0c91 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 10 Jun 2014 22:09:27 +0200 Subject: stream_dvd, stream_dvdnav, stream_bluray: remove global option variables --- stream/stream_dvd_common.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'stream/stream_dvd_common.c') 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 KB/s */ -- cgit v1.2.3