summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-08-03 15:21:40 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-08-03 15:21:40 +0000
commit02135001b44afc5446228228055c9ce7f29df5be (patch)
tree9a4243fe1da1f111cafab0a39c1b25720afab34b /mplayer.c
parent52d358e3dcd4bc813441f6e23d8d9d212a18d7dd (diff)
downloadmpv-02135001b44afc5446228228055c9ce7f29df5be.tar.bz2
mpv-02135001b44afc5446228228055c9ce7f29df5be.tar.xz
Change a bunch of video/audio-output-specific preprocessor directives from
a HAVE_ prefix to a CONFIG_ prefix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27402 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mplayer.c b/mplayer.c
index 31fa4408a8..627d3940de 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -112,7 +112,7 @@ char *heartbeat_cmd;
#include "stream/stream_radio.h"
#endif
-#ifdef HAS_DVBIN_SUPPORT
+#ifdef CONFIG_DVBIN
#include "stream/dvbin.h"
#include "stream/cache2.h"
#endif
@@ -198,7 +198,7 @@ static MPContext mpctx_s = {
.set_of_sub_pos = -1,
.file_format = DEMUXER_TYPE_UNKNOWN,
.loop_times = -1,
-#ifdef HAS_DVBIN_SUPPORT
+#ifdef CONFIG_DVBIN
.last_dvb_step = 1,
#endif
};
@@ -1143,7 +1143,7 @@ void init_vo_spudec(void) {
* make it all work is to use the builtin SDL-bootstrap code, which
* will be done automatically by replacing our main() if we include SDL.h.
*/
-#if defined(__APPLE__) && defined(HAVE_SDL)
+#if defined(__APPLE__) && defined(CONFIG_SDL)
#include <SDL.h>
#endif
@@ -3410,7 +3410,7 @@ if(mpctx->sh_video){
if(!mpctx->sh_video && !mpctx->sh_audio){
mp_msg(MSGT_CPLAYER,MSGL_FATAL, MSGTR_NoStreamFound);
-#ifdef HAS_DVBIN_SUPPORT
+#ifdef CONFIG_DVBIN
if(mpctx->stream->type == STREAMTYPE_DVB)
{
int dir;
@@ -3918,7 +3918,7 @@ if(rel_seek_secs || abs_seek_pos){
mp_msg(MSGT_GLOBAL,MSGL_V,"EOF code: %d \n",mpctx->eof);
-#ifdef HAS_DVBIN_SUPPORT
+#ifdef CONFIG_DVBIN
if(mpctx->dvbin_reopen)
{
mpctx->eof = 0;