summaryrefslogtreecommitdiffstats
path: root/stream/stream.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-30 12:01:30 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-30 12:01:30 +0000
commit4b141479da70665db8d5780c9ca9e430c9dd1f09 (patch)
tree9f61bb3b6989d4049f57a4d360d9e9b4d0047e9d /stream/stream.c
parentcbe1fcbf8309755549d01cec871c84316432ab8c (diff)
downloadmpv-4b141479da70665db8d5780c9ca9e430c9dd1f09.tar.bz2
mpv-4b141479da70665db8d5780c9ca9e430c9dd1f09.tar.xz
Start unifying names of internal preprocessor directives.
Replace all USE_ prefixes by CONFIG_ prefixes to indicate options which are configurable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27373 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/stream.c')
-rw-r--r--stream/stream.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/stream/stream.c b/stream/stream.c
index c95dabefb0..533bf7cd2e 100644
--- a/stream/stream.c
+++ b/stream/stream.c
@@ -88,10 +88,10 @@ static const stream_info_t* const auto_open_streams[] = {
#ifdef HAS_DVBIN_SUPPORT
&stream_info_dvb,
#endif
-#ifdef USE_TV
+#ifdef CONFIG_TV
&stream_info_tv,
#endif
-#ifdef USE_RADIO
+#ifdef CONFIG_RADIO
&stream_info_radio,
#endif
#ifdef HAVE_PVR
@@ -107,11 +107,11 @@ static const stream_info_t* const auto_open_streams[] = {
&stream_info_smb,
#endif
&stream_info_cue,
-#ifdef USE_DVDREAD
+#ifdef CONFIG_DVDREAD
&stream_info_ifo,
&stream_info_dvd,
#endif
-#ifdef USE_DVDNAV
+#ifdef CONFIG_DVDNAV
&stream_info_dvdnav,
#endif
@@ -381,7 +381,7 @@ void stream_reset(stream_t *s){
int stream_control(stream_t *s, int cmd, void *arg){
if(!s->control) return STREAM_UNSUPPORTED;
-#ifdef USE_STREAM_CACHE
+#ifdef CONFIG_STREAM_CACHE
if (s->cache_pid)
return cache_do_control(s, cmd, arg);
#endif
@@ -431,7 +431,7 @@ stream_t* new_stream(int fd,int type){
void free_stream(stream_t *s){
// printf("\n*** free_stream() called ***\n");
-#ifdef USE_STREAM_CACHE
+#ifdef CONFIG_STREAM_CACHE
if(s->cache_pid) {
cache_uninit(s);
}